Pretty progress and load indicators
Project description
python-propeller
================
Pretty progress and load indicators.
Usage:
from propeller import propeller
# usage as spinner
with propeller() as p:
# do something
p.spin()
# do more
p.spin()
# print to console
p.println("without messing up the spinner")
...
# process collections
with propeller() as p:
n = 1000
for i in range(n):
# do something
p.progress(i, n)
python-propeller uses threading and will wait indefinetly if you don't use
it as a context manager or call the 'end' method.
p = propeller()
# do something
p.end()
================
Pretty progress and load indicators.
Usage:
from propeller import propeller
# usage as spinner
with propeller() as p:
# do something
p.spin()
# do more
p.spin()
# print to console
p.println("without messing up the spinner")
...
# process collections
with propeller() as p:
n = 1000
for i in range(n):
# do something
p.progress(i, n)
python-propeller uses threading and will wait indefinetly if you don't use
it as a context manager or call the 'end' method.
p = propeller()
# do something
p.end()