Navigate:
~$TQDM0.1%

tqdm: Progress bar for Python loops and CLI

Instrument Python iterables with minimal-overhead progress tracking.

LIVE RANKINGS • 12:32 PM • STEADY
OVERALL
#331
11
DEVELOPER TOOLS
#68
4
30 DAY RANKING TREND
ovr#331
·Devel#68
STARS
31.0K
FORKS
1.4K
7D STARS
+28
7D FORKS
+4
See Repo:
Share:

Learn more about tqdm

tqdm is a Python library that instruments loops and iterables with progress tracking output. It operates by wrapping standard Python iterables and updating a status line using carriage return control characters, requiring only Python and basic terminal support. The library implements smart algorithms to predict remaining time and skip redundant display updates, maintaining overhead around 60 nanoseconds per iteration. Common applications include monitoring long-running computations, tracking data processing pipelines, and providing CLI feedback for shell commands and batch operations.

tqdm

1

Zero External Dependencies

Requires only Python and terminal support for carriage return characters, with no external libraries including curses. Enables deployment in constrained environments and simplifies installation across all platforms.

2

Minimal Iteration Overhead

Maintains approximately 60 nanoseconds per-iteration through optimized display skipping and predictive algorithms. Integrates into tight loops without measurable impact on execution time.

3

Multi-Context Compatibility

Operates across Linux, Windows, Mac, and BSD variants with specialized support for Jupyter notebooks, IPython, GUI applications, and shell pipes. The same API works consistently whether wrapping Python iterables or processing streamed data.


from tqdm import tqdm
import time

data = range(100)
for item in tqdm(data):
    time.sleep(0.01)
    # Process each item

See how people are using tqdm

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers