DEV Community

Discussion on: A cool new progress bar for python!

Collapse
 
waylonwalker profile image
Waylon Walker

This look sick! for years I have used tqdm. recently I stole the source of pipx for a couple of small projects. I really like its dancing dot animation and the context manager approach. Your ascii animations are killer! I will definitely be using this one.

Collapse
 
rsalmei profile image
Rogério Sampaio de Almeida

Thank you man! Appreciated!
Yeah, the context manager approach is not only visually good, but also useful! It allows you to call bar() just when you want, not necessarily in all iterations! So you can count at the same time the total and "broken" items, or "ok" items, so at the end you nicely get a receipt of "4800/5000", giving you more information than tqdm ever could.