Console Progress Bar
It’s a very tiny lib to help devs to print a progress bar in console
Usage
Here a very simple sample:
import time from console_progressbar import ProgressBar pb = ProgressBar(total=100,prefix='Here', suffix='Now', decimals=3, length=50, fill='X') pb.print_progress_bar(2) time.sleep(5) pb.print_progress_bar(25) time.sleep(5) pb.print_progress_bar(50) time.sleep(5) pb.print_progress_bar(95) time.sleep(5) pb.print_progress_bar(100)
Parameters Description
params:
total - Required : total iterations (Int) prefix - Optional : prefix string (Str) suffix - Optional : suffix string (Str) decimals - Optional : positive number of decimals in percent complete (Int) length - Optional : character length of bar (Int) fill - Optional : bar fill character (Str)
Metadata
Release files for console-progressbar 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| console_progressbar-1.0.2.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| console_progressbar-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / console_progressbar-1.0.2.tar.gz
| Download URL | console_progressbar-1.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d443c17c6e055e75f26bddbddd85eb7249c795298b751f525d9ae767d40e6a1
|
|
BLAKE2b-256 checksum How to use checksums |
64a6942a09e25c93ed5ee117172e0baf539765920297c131a2d1c96bf9441b1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / console_progressbar-1.0.2-py3-none-any.whl
| Download URL | console_progressbar-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35f1bac13a9a817fb76384fd0f32a6550beb756f28df4d0da8495e2b49bfc023
|
|
BLAKE2b-256 checksum How to use checksums |
692781d8391e26a1ac159272b337ad111c2a3ec225ee54e04e0dd7b7cbbd6d3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for console-progressbar 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.