Spinner for Click
Project description
# Click Spinner
[![PyPI](https://img.shields.io/pypi/v/click-spinner.svg)](https://pypi-hypernode.com/pypi/click-spinner/) [![Build Status](https://travis-ci.org/click-contrib/click-spinner.svg?branch=master)](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](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)
- Andreas Maier (@andy-maier)
[![PyPI](https://img.shields.io/pypi/v/click-spinner.svg)](https://pypi-hypernode.com/pypi/click-spinner/) [![Build Status](https://travis-ci.org/click-contrib/click-spinner.svg?branch=master)](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](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)
- Andreas Maier (@andy-maier)
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.6.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file click-spinner-0.1.6.tar.gz
.
File metadata
- Download URL: click-spinner-0.1.6.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59516d1a6ea83d044e51d9d6b70310f3ddfffd71584b0f0138e4a352c7e57473 |
|
MD5 | 35b7e0788d41ef04ccfe870901b5b7a8 |
|
BLAKE2b-256 | c7470dcc5d24f520af4e7ac4efc1155ffd4ec7649fd835a01746f124db5ade0f |
Provenance
File details
Details for the file click_spinner-0.1.6-py3.4.egg
.
File metadata
- Download URL: click_spinner-0.1.6-py3.4.egg
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a732c93252338317317d8b61510ef8db8860c02355a8fd64fc2a9f723dae4002 |
|
MD5 | 641a3379409e5581c5dbf2dbbcb784f8 |
|
BLAKE2b-256 | c8a51c684340df5f8a6c885403f8b21d40e09428c88b3e63cd1a47105b93980c |