• Stars
    star
    297
  • Rank 139,239 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

It's easy to show that your command line app is active

Click Spinner

PyPI Build Status

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.spinner():
        do_something()
        do_something_else()

It looks like this:

spinner

Spinner class based on on a gist by @cevaris.

Introduced in PR #649.

Install

pip install click-spinner

Supports Python 2.7 and 3.

Authors

  • @yoavram
  • @andy-maier
  • @AdrienPensart