A customized Rich Progress Bar
Project description
MaxProgress 0.1.0
Maxprogress provides a thin wrapper around rich’s Progress Bar class. It generates a custom formated progress bar.
<iframe src="maxprogress.gif" width="997" height="164" frameBorder="0" allowFullScreen>maxprogress</iframe>
div
Installation
Pip
pip install maxprogress
Pipx
pipx install maxprogress
Poetry
poetry 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.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for maxprogress-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9ad5ad6044b4b8461f068b0e192c70227fd717443f63657d793d2b6d8ba025f |
|
MD5 | 65c37e6b11f5481762c238b587741812 |
|
BLAKE2b-256 | 95417002c5fcb95d67d16f9ef4b26aed2b1b661d4bf51ba73d5d2f185820afde |