tqdm
tqdm is a Python library that provides fast, extensible progress bars for loops and iterables, making it easy to visualize the progress of your code. The current version is 4.67.3, released on February 3, 2026, with a release cadence of approximately every 89 days.
Warnings
- breaking In version 4.67.2, support for 'pandas>=3' was added, which may affect compatibility with older pandas versions.
- gotcha Using 'tqdm' in asynchronous iterators without handling 'break' statements can prevent proper cleanup.
- gotcha When using 'tqdm' in Jupyter notebooks, the progress bar may not display correctly if not using the 'notebook' submodule.
- gotcha Directly using 'print()' statements while a 'tqdm' progress bar is active can cause display issues.
Install
-
pip install tqdm
Imports
- tqdm
from tqdm import tqdm
- trange
from tqdm import trange
Quickstart
from tqdm import tqdm
import time
for i in tqdm(range(100)):
time.sleep(0.1) # Simulate work