ProgressBar for python
Project description
Progress Bar
This is a simple terminal progress bar for python,
no libraries required.
Usage
from nspb.pb import ProgressBar
pb = ProgressBar(size=100, length=100, prefix='', suffix='', decimals=1, fill='â–ˆ', infos=False, printEnd ="\r", file=sys.stdout) # With full params
pb = ProgressBar(size=100, length=100) # Simplest declaration
for i in range(100 + 1):
pb.update(i) # The value of update can be any int value, for example it can be the downloaded size of a file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nspb-1.2.1.tar.gz
(2.5 kB
view hashes)