PyProgressBars
A minimalistic progress indicators for usage in CLI based python projects
If you have CLI scripts which shows some kind of progress and if you want to show them in a animated way, then you are at the right place
What makes this library unique from others is the ability to control the color to use while displaying the progress indicators.
Currently Supports
- Counter
- Countdown
- Loading Spinner
- Filling progress bar
- Filling progress bar with percentage
- Growing progress bar
- Process Indicator
- Process Indicator with percentage
Installation
pip3 install pyprogressbars
Usage
import sys,time
from pyprogressbars import counter, loading_spinner, filling_progress_bar, growing_progress_bar, x_slash_y
counter(limit=50, prefix="Counter: ", delay=0.1)
sys.stdout.write("\n")
counter(limit=50, prefix="Countdown: ", delay=0.1, reverse=True)
sys.stdout.write("\n")
loading_spinner("Loading Spinner: ", color="red")
sys.stdout.write("\n")
for i in range(1,26):
filling_progress_bar(25,i,0.3,"Filling Progress Bar: ", color="yellow")
sys.stdout.write("\n")
for i in range(1,26):
filling_progress_bar(25, i, 0.3, "Filling Progress Bar (With percentage): ", color="yellow",show_percentage=True)
sys.stdout.write("\n")
growing_progress_bar(50, 0.2, "Growing Progress Bar: ", "green")
sys.stdout.write("\n")
for i in range(1,51):
x_slash_y("Process Indicator: ",i,50, color="yellow")
time.sleep(0.2)
sys.stdout.write("\n")
for i in range(1,51):
x_slash_y("Process Indicator (With percentage): ", i,50, show_percentage=True)
time.sleep(0.2)
sys.stdout.write("\n")
Metadata
Release files for pyprogressbars 0.0.3
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 | Actions |
|---|---|---|---|---|
| pyprogressbars-0.0.3.tar.gz | 3.1 kB | Without provenance | Details for pyprogressbars-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyprogressbars-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for pyprogressbars-0.0.3-py3-none-any.whl |
Total release size: 6.4 kB
Release files / pyprogressbars-0.0.3.tar.gz
| Download URL | pyprogressbars-0.0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12321a21af98b4bd96c0ffc0317176d2b2568a60936d05f896af880d7fb69bcd
|
|
BLAKE2b-256 checksum How to use checksums |
1b4347263095ee998db92148499d2f4b284f45d670596586bd37ce5081157115
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / pyprogressbars-0.0.3-py3-none-any.whl
| Download URL | pyprogressbars-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b363977b4c01e91de4f75e78f06bd4259ab74c7fd5c2437aecf6f150a1ace988
|
|
BLAKE2b-256 checksum How to use checksums |
94bf2ab039a9ace012d093939a1a0f2a403fca4de6e18ea43ec1ef1cf96a1977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for pyprogressbars 0.0.3
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.