Skip to main content

A customized Rich Progress Bar

Project description

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.


maxprogress

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.4.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

maxprogress-0.4.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file maxprogress-0.4.0.tar.gz.

File metadata

  • Download URL: maxprogress-0.4.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for maxprogress-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d1718602e708d6a3a14c711447f484c4d311a53d49c0e63fe621a725b03e67c1
MD5 a2533dfc77eaf83ee4beb0cf54dc8e62
BLAKE2b-256 530f8969ad9d7314a7d573f36fd13150c19fe29eacb832741d5508992331a61c

See more details on using hashes here.

File details

Details for the file maxprogress-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: maxprogress-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for maxprogress-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec560cec5f998d9855a4bd0778fc4d6cc73e1b409f3ddc76a8cae798c8e1760a
MD5 d44a6785355465a4fe5c9f596b4d01d5
BLAKE2b-256 c5d12ff8320a5adeb72ebd1892c7f7b3e993afa9f34fb07d06261b0e730a6f12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page