Download Latest Version v4.6.0 source code.zip (701.3 kB)
Email in envelope

Get an email when there's a new version of Python Progressbar

Home / v4.6.0
Name Modified Size InfoDownloads / 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]'. See benchmarks/report.md for the numbers against tqdm, rich, alive-progress and click.

Features

  • tqdm-style arguments on progressbar(): desc, total, unit, unit_scale and postfix.
  • MultiBar(join_timeout=...) bounds the wait for unfinished bars on with-block exit.
  • TERM-based color detection generalized beyond xterm variants (#318), plus a truecolor-terminal allowlist for stripped COLORTERM environments.
  • AttributeDict is generic over its value type.

Fixes

  • 28 bugs found in a full audit of the bar, widgets, MultiBar and 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/ and tools/ 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

Source: README.md, updated 2026-08-13