tqdm with a live terminal rate graph and smarter ETA.
Project description
twoqdm
twoqdm is a small tqdm wrapper for long-running Python loops. It keeps
the normal progress bar and adds a live terminal panel with recent it/s
history, colored trend direction, jitter, and a smarter ETA hint.
Install
python3 -m pip install twoqdm
For local development from this repository:
python3 -m pip install -e ".[dev]"
Use
from twoqdm import tqdm, trange
for record in tqdm(records, desc="processing"):
process(record)
for i in trange(500, desc="training"):
train_step(i)
Disable color output with:
TQDM_TREND_NO_COLOR=1 python3 your_script.py
Build
python3 -m build
python3 -m twine check dist/*
Publish
Create a PyPI API token, then upload:
python3 -m twine upload dist/*
The twoqdm project name appeared available on PyPI's JSON endpoint as of
July 1, 2026. Confirm availability again immediately before the first upload.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twoqdm-0.1.0.tar.gz.
File metadata
- Download URL: twoqdm-0.1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee77f1f5e75acc668f7d78b6ab447e11754141f5f99eb47d765eace5cf7c4137
|
|
| MD5 |
ba21a8adafc4b66a4a1881c8651ce729
|
|
| BLAKE2b-256 |
b10105e16087818abf457aa6f7d902db472e3e3b8e8ae10c58062439d1de5a5b
|
File details
Details for the file twoqdm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: twoqdm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822ec2f149b7165f702c5992386c33141b4378a53b985bb70c41ab9f3e27228a
|
|
| MD5 |
d87330964993e59510a8f066b4b49061
|
|
| BLAKE2b-256 |
7fc9ce6fc6d550216f69b442ce5f49955ce4a66fa3de80fa24e3a9fa5ebd2306
|