Spinner for Click
Project description
# 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](https://cloud.githubusercontent.com/assets/1288133/18229827/29629cd4-728f-11e6-8007-6c85ac50565c.gif)
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
```
## Authors
- Yoav Ram (@yoavram)
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](https://cloud.githubusercontent.com/assets/1288133/18229827/29629cd4-728f-11e6-8007-6c85ac50565c.gif)
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
```
## Authors
- Yoav Ram (@yoavram)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
click-spinner-0.1.1.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for click_spinner-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbeec32d77db616e57ac6c44f133185e8718e8fc427d00cf21bbba4fd30d34b2 |
|
MD5 | 26796dbf7539df3e23eb10017263fdec |
|
BLAKE2b-256 | 9dcacd95c20be863a803161514572b266e3a6611a57dbc66ebbe5e36e5ab0777 |