-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiprocessing support #130
Comments
Would you mind to design an example with the library ThreadingPoolExecutor available here? |
We may learn one or two tips with this library: https://github.com/alphatwirl/atpbar |
Hey @brunolnetto! How are you? Yes, it surely does support! @TheTechRobo Actually, multiprocessing is very different than multiple bars... I've made several complete examples of this kind of use already, please read #42, #75, and #100. I'm going to close this, but feel free to reply with any other doubts. |
My desire, mister feature waiter, is described on the issue from library below. I provide a CPU-inspired logic to implement it. wolph/python-progressbar#264 (comment) The specific case for me is a multi-bar nested use-case. It is rather more complicated than nested fors since the parallel tasks may finish in different and unexpected orders from assignment. Maybe you can provide this feature for users. |
I even answer your concern regarding multiple rate refresh with a reasonable approach. |
So @TheTechRobo guessed right, you were indeed interested in #20, i.e. multiple bars instead of multiple processing. |
These are the concerns: #20 (comment) |
It seems line starve in combination to delete character or ANSI cursor move character may be useful here. |
again, see the concerns |
I read and, again, it seems line starve in combination to delete character or ANSI cursor move character will be useful here. It means I already draw my strategy winner. And also said again, my main strategy guidelines are below, rewritten from here. The solution may lay on re-render the multiple bars. My best shot is:
Bars may always keep on the top of the terminal stack from the command run. |
I know how to do it, it's how to implement it that is the problem. Especially in Finally, making this engine work across multiple different processes, with possibly rather different velocities and timings, would be very challenging. I couldn't yet invest much time in it, especially without any kind of sponsorship or donations. |
Hi,
Does it support multiprocessing? If not, this article may a good direction to follow: https://leimao.github.io/blog/Python-tqdm-Multiprocessing/
best regards
The text was updated successfully, but these errors were encountered: