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 details)
File details
Details for the file nspb-1.2.1.tar.gz
.
File metadata
- Download URL: nspb-1.2.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 302ada4bbe19c1782787caedf7070ca0588b6aa1bb0d33436b60afba423fe547 |
|
MD5 | b8a5b5acf818d02639f2dea25b53459a |
|
BLAKE2b-256 | 5e7c2373adff1b77dc3123f44a8b8c2b99300f350a4ebb9e629748d98a9a6115 |