You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honnestly, I don't plan on this and I don't think I will ever.
However, I plan on adding a way to replace tqdm calls by stqdm ones.
This may be a way for you to achieve this.
Waiting for this, here are 2 ways that will probably do the trick for you :
do your own multiprocessing and use the resulting imap in stqdm :
frommultiprocessingimportPool# you can probably call pathos in the same wayfromtimeimportsleepdefsleep_and_return(i):
sleep(0.5)
returniN=100withPool(processes=5) aspool:
foriinstqdm(pool.imap(sleep_and_return, range(N)), total=N):
st.write(i)
If you don't care about the order, you can call imap_unordered instead
Monkey patching tqdm in p_tqdm module by calling something like :
Love this project and have been using it all the time with any ST apps I build.
just wondering if there's any plan to wrap stqdm on top of the equally amazing
p_tqdm
The text was updated successfully, but these errors were encountered: