| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| progressbar2-4.6.0-py3-none-any.whl | 2026-08-13 | 104.2 kB | |
| progressbar2-4.6.0.tar.gz | 2026-08-13 | 544.9 kB | |
| README.md | 2026-08-13 | 1.6 kB | |
| v4.6.0 source code.tar.gz | 2026-08-13 | 531.7 kB | |
| v4.6.0 source code.zip | 2026-08-13 | 701.3 kB | |
| Totals: 5 Items | 1.9 MB | 0 | |
Highlights since 4.5.0:
Performance
progressbar.progressbar()now auto-dispatches to a lean fast path for the common wrap-a-loop case, and an integer update gate keeps gated iterations to an increment, a compare and a store (#316).- Optional native iterator accelerator:
pip install 'progressbar2[fast]'. Seebenchmarks/report.mdfor the numbers against tqdm, rich, alive-progress and click.
Features
- tqdm-style arguments on
progressbar():desc,total,unit,unit_scaleandpostfix. MultiBar(join_timeout=...)bounds the wait for unfinished bars onwith-block exit.TERM-based color detection generalized beyond xterm variants (#318), plus a truecolor-terminal allowlist for strippedCOLORTERMenvironments.AttributeDictis generic over its value type.
Fixes
- 28 bugs found in a full audit of the bar, widgets,
MultiBarand the CLI (#315), plus regression coverage for [#212], [#295] and [#301] (#317, [#326]). - 16-color mapping no longer collapses mid-intensity colors (e.g. maroon) to black.
- The wheel no longer ships the repo-level
benchmarks/,scripts/andtools/directories.
Documentation
- Rebuilt as an interactive site: a tutorial, task-focused how-tos, per-widget pages with animated demos, and an in-browser Python console that runs every example live: https://progressbar-2.readthedocs.io/
- Full API docstring coverage, enforced in CI.
Compatibility
- Requires Python 3.10+ (was 3.8).
- Still backwards compatible with the original progressbar package.
Full changelog: https://github.com/wolph/python-progressbar/compare/v4.5.0...v4.6.0