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
```
Supports Python 2.7 and 3.
## 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
```
Supports Python 2.7 and 3.
## 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 Distributions
click_spinner-0.1.3.tar.gz
(17.8 kB
view hashes)
click-spinner-0.1.3.tar.gz
(18.3 kB
view hashes)
Built Distributions
click_spinner-0.1.3-py3.4.egg
(4.2 kB
view hashes)
Close
Hashes for click_spinner-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c546393f11557888d6a81c296f451182d3870d0c030cdfcd50d3241260ba714d |
|
MD5 | b58a14d8fbfd73615616f9a6739f0b80 |
|
BLAKE2b-256 | ba62ca85c5dd008d8ba9a51057ef8312ea78c8d57b87c6572d920809fe6cfa2c |