progressbar2

A quick taste

After pip install progressbar2 (Installation), wrapping any iterable shows a live bar:

import time
import progressbar

for item in progressbar.progressbar(range(100)):
    time.sleep(0.02)

That is the whole API for the common case. From there:

  • Tutorial builds up from that one line to custom widgets in five steps.

  • How-to guides answers specific questions: printing while a bar is running, several bars at once, unknown-length work, colors.

  • Widget reference has a page per widget, each with an animation you can run in your browser.

  • Explanation covers why the bar redraws when it does, how terminal detection works, and what the fast path costs.

Every example on this site is a tested, runnable module. In an HTML browser each one carries a Run button that executes it in place with real CPython compiled to WebAssembly, nothing installed.