Skip to main content

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page