ConsoleBar
Python Module which creates stunning progress bars for showing progress of loops and iterables in python.
Installation
Simply using PyPi:
pip install consolebar
Usage
Simply run the following python code:
from consolebar import ConsoleBar
for item in ConsoleBar(object'''(list(), tuple(), dict(), range(), iterable, etc.)''', optional_params):
#Do your stuff
Thats it!
Parameters
- loop_to_execute (Required): Python loop parameter (list(), dictionary(), tuple(), str(), range(), etc.) i.e. iterable object for which progress bar is shown.
- prefix (Optional): A string which is shown before the progress bar to describe the progress bar (Default: "Progress:").
- suffix (Optional): A string which is shown after the progress bar to describe the progress percentage shown after the progress bar (Default: "Complete").
- length (Optional): Length of the progress bar in charecters. Can be adjusted according to one's console charecter width (Default: 50).
Highly useful when you want to run huge loops but don't want to just see the blinking cursor of the console while it is executing.
Metadata
Release files for consolebar 1.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 | Actions |
|---|---|---|---|---|
| consolebar-1.2.tar.gz | 3.2 kB | Without provenance | Details for consolebar-1.2.tar.gz |
Release files / consolebar-1.2.tar.gz
| Download URL | consolebar-1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f28d8bd9ed3f95c04ab3d76d4046be83d8a6fd663aa086bf3faa23a6b59b383
|
|
BLAKE2b-256 checksum How to use checksums |
2a2ed4dbe78f09de31f6139ac57871e92400d417d7a6acd7ff4d96c3c71b9ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15rc1
|
Security for consolebar 1.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.