-
Notifications
You must be signed in to change notification settings - Fork 148
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
Support multiple spinners running in parellel #155
base: master
Are you sure you want to change the base?
Conversation
5e87535
to
81d0230
Compare
@frostming Thanks for mentioning me, and the gif looks great. I won't review as I don't have the expertise but I hope that this, or similar, makes it into |
@frostming Thanks for working on this. It looks great! I'll review this over the weekend. But this does require testing and support for notebook environment. |
Pull Request Test Coverage Report for Build 442
💛 - Coveralls |
Pull Request Test Coverage Report for Build 441
💛 - Coveralls |
I added a test to cover the basic scenario of multiple running spinners.
Notebook should be working fine without any changes because instances are rendered in their own output widget, which I confirmed in a local notebook. |
Hi, Any progress on the review? |
a34da90
to
fa4835f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems alright to me.
Any news on this being merged in? Looks like a nice addition. |
@manrajgrover is there any reason this PR hasn't been approved? Is this project actively maintained anymore? |
This feature is still broken on notebooks.
…On Thu, Sep 23, 2021, 20:35 Mark Mendoza ***@***.***> wrote:
@manrajgrover <https://github.com/manrajgrover> is there any reason this
PR hasn't been approved? Is this project actively maintained anymore?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#155 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACO2BRGEK67KCZT75YHJSTUDPBSJANCNFSM4TCBQIXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Very good change. I also would like several spinners for multiprocessing. |
Still not merged? I was looking for exactly this. If anyone is reading this and has found an alternative to halo that works with multiple spinners, please ping me. |
@black-snow I think this project is no longer maintained, have a look at rich you may achieve the same using rich's spinner and Live Display |
@frostming thanks for the work you put into this PR; unfortunate the project isn't maintained. |
Description of the new feature, or changes
Add multi-threading support so that spinners can be updated individually without affecting other instances.
Example script:
And here is the output
Checklist
Related Issues and Discussions
Close #135
Close #17
halo_notebook
is not updated. Tests are not supplied yet, any suggestions are welcome.People to notify