auto_tqdm
Wrapper over tqdm for automatically handle switch between jupyter notebook and cli and tunes bar to my liking (automatic resizing, stronger smoothing and tuning for erratic iterations).
How do I install this package?
As usual, just download it using pip:
pip install auto_tqdm
Tests Coverage
Since some software handling coverages sometime get slightly different results, here's three of them:
Usage Example
So basically, this is a tqdm with only a twist: it is tuned with both my preferred settings and allows for total remaining time prediction.
from auto_tqdm import tqdm, remaining_time
for _ in tqdm(range(10)):
for _ in tqdm(range(10)):
for _ in tqdm(range(10)):
print(remaining_time())