A customized Rich Progress Bar.
Project description
MaxProgress 0.4.2
Updated dependencies to match fellow helper scripts: maxconsole and maxcolor.
MaxProgress 0.3.0
Updated to match dependencies with fellow helper scripts: maxconsole and maxcolor.
MaxProgress 0.2.0
Maxprogress provides a thin wrapper around rich’s Progress Bar class. It generates a custom formatted progress bar.
Installation
MaxProgress is available on PyPI and able to be installed with pip, pdm, or your favorite package manager.
Pip
pip install maxprogress
PDM
pdm add maxprogress
Usage
from maxprogress import get_progress
progress = get_progress():
with progress:
task1 = progress.add_task("[red]Downloading...", total=200)
task2 = progress.add_task("[green]Processing...", total=200)
task3 = progress.add_task("[cyan]Cooking...", total=200)
while not progress.finished:
progress.update(task1, advance=0.5)
progress.update(task2, advance=0.3)
progress.update(task3, advance=0.9)
time.sleep(0.02)
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
maxprogress-0.4.2.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file maxprogress-0.4.2.tar.gz
.
File metadata
- Download URL: maxprogress-0.4.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.3.3 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21f55a09a81d715820c4866f6ad8f289a71031dca113dfd05c68a032c94c1e3 |
|
MD5 | e393b6a468d6077f3b5f83969ccdc9e5 |
|
BLAKE2b-256 | 8aa312cfcdbc90f69e8cb287e4003cc40f1b39a4527bc97f904f244147f647e8 |
File details
Details for the file maxprogress-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: maxprogress-0.4.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.3.3 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72cf5bf32efe55001f557fbf0d5e9fec6f920a5a12c763c7342c59a6637ebfc |
|
MD5 | 65b81b98961ededd824e45e036baf77f |
|
BLAKE2b-256 | 6753840d9313994a7e3caf53b51b261dd8dd5d6124e53a2a1da6c65edcdba68f |