News for hackers. Stuff that matters.
Re:Tqdm (Python) by ejdyksen on Thursday December 16, 2021 @05:14PM (#29584734)
If you like tqdm, it's worth checking out pqdm, a parallelized version. If you have embarrassingly parallel work to process in a script, it makes it dead simple to parallelize and monitor the progress of something. Highly recommend:

https://github.com/niedakh/pqdm

Re:Tqdm (Python) by tdekok on Thursday December 16, 2021 @09:11PM (#29586892)
+1 for PQDM, I use it a ton and most of the time it just works. I did have some rare cases where PQDM was much slower than a direct joblib implemention, but that could well be a fluke on my end. Either way, amazing package!
Re:Tqdm (Python) by anonymousCar on Friday December 17, 2021 @10:42PM (#29601390)
My current issue with tqdm is nested progress bars in multi-threading/processing causing dead locks + tqdm.write just being broken in those contexts, either deadlocking or the ui just being wrong. Does pqdm do a better job?