Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/click-contrib/click-spinner
It's easy to show that your command line app is active
https://github.com/click-contrib/click-spinner
Last synced: 4 months ago
JSON representation
It's easy to show that your command line app is active
- Host: GitHub
- URL: https://github.com/click-contrib/click-spinner
- Owner: click-contrib
- License: mit
- Created: 2016-09-04T10:30:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T20:05:54.000Z (over 1 year ago)
- Last Synced: 2024-09-19T15:37:42.282Z (5 months ago)
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 297
- Watchers: 4
- Forks: 34
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - click-contrib/click-spinner - It's easy to show that your command line app is active (Python)
README
# Click Spinner
[](https://pypi.python.org/pypi/click-spinner/) [](https://travis-ci.org/click-contrib/click-spinner)
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:
```py
with click_spinner.spinner():
do_something()
do_something_else()
```It looks like this:

Spinner class based on on a [gist by @cevaris](https://gist.github.com/cevaris/79700649f0543584009e).
Introduced in [PR #649](https://github.com/pallets/click/pull/649).
## Install
```
pip install click-spinner
```Supports Python 2.7 and 3.
## Authors
- @yoavram
- @andy-maier
- @AdrienPensart