Downloads and files
Show transfer speed, data size, and the estimated time remaining.
Track a transferPython progress bars
From a single loop to several jobs at once. Show progress, keep your logs readable, and choose the details that matter.
Add progress to your next script.
pip install progressbar2
Already using tqdm? Find the migration guide.
Recorded progressbar2 output. Read the guide and run the source locally.
Show transfer speed, data size, and the estimated time remaining.
Track a transferFollow each task with its own bar, including batches running in parallel.
Show multiple barsKeep printed messages readable above the bar while your loop runs.
Keep your output tidyWrap your iterable with progressbar. The bar updates as each item is processed.
Then add the widgets you need: an ETA, a counter, a transfer speed, or your own value.
Follow the tutorialRun this example in your browser. Python downloads when you press Run.
"""Wrap an iterable to show its progress."""
import time
import progressbar
def main() -> None:
for _ in progressbar.progressbar(range(100), fast=False):
time.sleep(0.01)
if __name__ == '__main__':
main()