Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.53 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.53 KB

pybadge

Mtqdm

Manage|Multple TQDM Bars

mtqdmframes-CR3 From the "Absurdity Bars" example in mtqdm_tester.py

Main Features

  • Manage TQDM progress bars across an application for clean display
  • Make progress meters colorful with built-in color palettes
  • Support for Negative progress updates

Simple Usage

from mtqdm import Mtqdm

with Mtqdm().open_bar(desc="Doing", total=100) as bar:
    while doing_things():
        Mtqdm().update_bar(bar)

Other Features

  • Singleton class manages TQDM progress bars across an application
  • Support multiple simultaneous bars (hierarchy or in parallel)
  • Color can be switched off (uses default monochrome meter)
  • Optional auto-total to 100% if process ends early
  • Print text below an active bar (good for processs without an available ETA)

Color Palettes

Default

mtqdm-default

Rainbow

mtqdm-rainbow2

Bemine

mtqdm-bemine

Random

mtqdm-random

Randbemine

mtqdm-randbemine