Hacker News new | ask | show | jobs
by loloquwowndueo 1418 days ago
This is nice if you have non-homogeneous tasks that need updating as different parts of the code are reached; for showing a progress bar when performing work on an iterable, tqdm seems simpler as it’s just one function call wrapping the iterable : https://pypi.org/project/tqdm/

Tqdm also has a “manual update” mode as a context manager, which looks comparable to lowbar.

3 comments

tqdm also supports Jupyter Notebooks, which is really nice.
And it has no dependencies
Thanks for the feedback! I was going for something different from already available loading bars, giving users maximum control while keeping the code base small.
im getting into python this week after lots of years of doing other stuff and i appriciated how little code there was and how it was simple enough to get my head around quickly. thanks for sharing stranger.
This started as a quick little experiment with sys.stdout, but turned into something somewhat useful!
tqdm (Arabic word taqaddum — "progress") reminds Z'Ha'Dum from Babylon 5 https://youtu.be/jdoZvo8j6tc