Skip to main content

Spinner for Click

Project description

# Click Spinner

[![PyPI](https://img.shields.io/pypi/v/click-spinner.svg)](https://pypi.python.org/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


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.7.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

click_spinner-0.1.7-py2.7.egg (4.7 kB view details)

Uploaded Egg

File details

Details for the file click-spinner-0.1.7.tar.gz.

File metadata

  • Download URL: click-spinner-0.1.7.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for click-spinner-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a0703b4a21a1ba377716c5c768928b6c7575c087af926d3d586818426982ea30
MD5 d9f5434f1d511a02c287551e2420c96b
BLAKE2b-256 26543fa581d2c510386b7a2e22bdd6cc8978ba0ee83fb2762c238cc7ac382f96

See more details on using hashes here.

File details

Details for the file click_spinner-0.1.7-py2.7.egg.

File metadata

File hashes

Hashes for click_spinner-0.1.7-py2.7.egg
Algorithm Hash digest
SHA256 6e7af5fc2c7fe4a0434f4330c0075f31ea688e680760dcd14594250e8911230f
MD5 ec17b1c1e8e32b18454481a96ad714ac
BLAKE2b-256 6cfd25f3d788c83f267ffa79b8f56ed086a4eb516fe53ae4abd7853df10132a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page