Tsvika Shapira

Results 6 comments of Tsvika Shapira

Thank you for the reply! Let me say that `tqdm` is a lean package, with no other dependencies. I believe that using packages that focus on certain aspects can improve...

tqdm and my code are well written in that manner, and does not consume the iterator. my code does call `len(iterator)`, which, as far as I know, is safe for...

![render1576430473023](https://user-images.githubusercontent.com/19141733/70866442-5f127780-1f72-11ea-95e7-7a1ef52af17c.gif) (sorry for the 80 characters width) this is the same example from your docs. * **first case**: a regular iterator. the code does not try to consume it, and...

![render1576492216829](https://user-images.githubusercontent.com/19141733/70900302-35546180-2001-11ea-92e3-03545b5f7db1.gif) A clearer GIF, I hope.

in case it will help someone - here is a subclass of Parallel that uses tqdm: (also in [gist](https://gist.github.com/tsvikas/5f859a484e53d4ef93400751d0a116de)) ```python import tqdm from joblib import Parallel class ParallelTqdm(Parallel): """joblib.Parallel, but...

the idea is to change the default cache_path to be `/tmp/sgpt_cache`, to prevent collision with other apps