Progressbar 2 - A progress bar for Python 3 (3.10+) with ETA, speed and custom widgets - "pip install progressbar2"
Repo wolph/python-progressbar, read from GitHub 1 min ago. wolph has not joined Take My Repo.
Fixes for three regressions in 4.7.0 (#336):
MultiBar, through pop, del, clear, a replacement under the same label or remove_finished, takes its generated label widgets with it. Adding it again labels it once. 4.7.0 left the old labels in bar.widgets and labelled it twice.stop_capturing() that brings the count to zero flushes the original stream once, as 4.6.0 did. 4.7.0 flushed it three times. A StreamWrapper subclass whose update_capturing() calls super() gets two flushes, the second one on an empty buffer.WrappingIO.flush() replacement that raises no longer costs the captured text. The text goes back in front of anything written since, and the next flush delivers it in order. 4.7.0 drained the buffer first and lost the text.The package metadata on PyPI links to the release notes (#335).
Signed on 2026-11-17 with ppt sign, after the release.
The files above are the exact PyPI uploads for this version, verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json) made by the sign.yml workflow of this repository.
SHA256SUMS.asc signs the checksum list.
Rebuilt files, if any: none.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md
Release 3.11.0. No changelog section was found at tag v3.11.0.
Signed on 2026-11-12 with ppt sign, after the release.
The files above are the exact PyPI uploads for this version, verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json).
SHA256SUMS.asc signs the checksum list.
Rebuilt files, if any: none.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md
Release 3.6.2. No changelog section was found at tag v3.6.2.
Signed on 2026-11-12 with ppt sign, after the release.
The files above are the exact PyPI uploads for this version, verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json).
SHA256SUMS.asc signs the checksum list.
Rebuilt files, if any: none.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md
PyPI versions for which no matching commit could be found. Their files are the exact PyPI uploads.
Signed on 2026-11-12 with ppt sign, after the release.
The files above are the exact PyPI uploads of the versions listed in these notes, each verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json).
SHA256SUMS.asc signs the checksum list.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md
Highlights since 4.6.0:
Colours
enable_colors=True, spinners cycle through colours (color_cycle, HueGradient, rainbow). Output to a file or pipe is unchanged; progressbar.utils.no_color() strips the escapes from a widget called directly.Bar fill colours are constructor arguments (fg, bg); the Bar.fg and Bar.bg class attributes are gone.Parallel execution
progressbar.map, imap, imap_unordered, starmap, thread_map, process_map, as_completed, the asyncio amap, aimap, aimap_unordered and gather, run for shell commands and the progressbar.parallel decorator, with bar='multi' for an overall bar plus one per task (#327).Performance
Security and hardening (#330)
FormatLabel('{value.__class__}') raise ValueError: a template walking dunder or frame attributes could reach interpreter internals. Index access and ordinary attributes keep working.fork. StreamWrapper.lock and listeners_lock are read-only properties.MultiBar membership changes and expiry share one guard and track bars by identity.Fixes
prefix, desc and suffix, so a labelled bar no longer overflows the terminal (contributed by @rupayon123 in #331).desc renders as a template, as in 4.6.0; a literal brace is doubled (#334).PROGRESSBAR_MINIMUM_UPDATE_INTERVAL set to a non-numeric value is logged once and ignored instead of raising at the first bar.maxval, poll and currval name the caller's file and line.Compatibility
python-utils >= 4.1.4 (was 3.8.1): older releases render a negative scale_1024 power as 0.1 YiB.Signed on 2026-11-12 with ppt sign, after the release.
The files above are the exact PyPI uploads for this version, verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json).
SHA256SUMS.asc signs the checksum list.
Rebuilt files, if any: none.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md
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).pip install 'progressbar2[fast]'. See benchmarks/report.md for the numbers against tqdm, rich, alive-progress and click.Features
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
MultiBar and the CLI (#315), plus regression coverage for #212, #295 and #301 (#317, #326).benchmarks/, scripts/ and tools/ directories.Documentation
Compatibility
Full changelog: v4.5.0...v4.6.0
Signed on 2026-11-12 with ppt sign, after the release.
The files above are the exact PyPI uploads for this version, verified by sha256 against PyPI before signing.
Each file has a GPG signature (.asc, key 149325FD15904E9C4EB89E95E81444E9CE1F695D) and a Sigstore bundle (.sigstore.json).
SHA256SUMS.asc signs the checksum list.
Rebuilt files, if any: none.
How to verify: https://github.com/WoLpH/python-project-tools/blob/master/VERIFY.md