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.
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 | |
|---|---|---|---|
| consolebar-1.2.tar.gz | 3.2 kB | Details |
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
|