Skip to content

Added a spinner utility - #649

Closed
yoavram wants to merge 1 commit into
pallets:masterfrom
yoavram:spinner
Closed

yoavram wants to merge 1 commit into
pallets:masterfrom
yoavram:spinner

Conversation

@yoavram

@yoavram yoavram commented Sep 4, 2016

Copy link
Copy Markdown

Sometimes you would just like to show the user some progress, but a progress bar is not suitable because you don’t know how much longer it would take. In these cases you might want to display a simple spinner using the spinner() function.

Example usage:

with click.spinner():
        do_something()
        do_something_else()

It looks like this:

spinner

Spinner class based on on a gist by @cevaris.

@untitaker

Copy link
Copy Markdown
Contributor

Thanks for your contribution, however, I think this is more appropriate as a third-party package, see http://click.pocoo.org/5/contrib/

@untitaker untitaker closed this Sep 4, 2016
@yoavram

yoavram commented Sep 4, 2016

Copy link
Copy Markdown
Author

OK, I understand, I've created a contrib repo called "click-spinner", could I put it under click-contrib?

@untitaker

Copy link
Copy Markdown
Contributor

I've invited you, you should be able to just transfer your repo to the org. Your access to the repo will be preserved, but you won't have write-access to other repos.

@yoavram

yoavram commented Sep 4, 2016

Copy link
Copy Markdown
Author

Done. Code moved to click-contrib/click-spinner. 10x.

yoavram pushed a commit to click-contrib/click-spinner that referenced this pull request Sep 4, 2016
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
@kdeldycke kdeldycke added the help output Help text formatting, layout, and --help rendering label Aug 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

help output Help text formatting, layout, and --help rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants