Skip to main content

Spinner for Click

Project description

Click Spinner

PyPI Build Status

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:

with click_spinner.spinner():
        do_something()
        do_something_else()

It looks like this:

spinner

Spinner class based on on a gist by @cevaris.

Introduced in PR #649.

Install

pip install click-spinner

Supports Python 3.8+.

For Python <3.8, use v0.1.11.

Authors

  • @yoavram
  • @andy-maier
  • @AdrienPensart

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

click_spinner-0.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file click_spinner-0.2.0.tar.gz.

File metadata

  • Download URL: click_spinner-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for click_spinner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 01371550596bc18f1e1546bb2956745eed387235235e664bc96f8cc675b7d6e8
MD5 4f087160adc4e244ae7146c6a42bb158
BLAKE2b-256 7a1bc52f8e09feab7d40577bc4da34300b78a8f44d6aaf9a2912b2ffd0edf337

See more details on using hashes here.

File details

Details for the file click_spinner-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: click_spinner-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for click_spinner-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e79634a419ccedd597c85bc24b5804f851fc7e07b1c1daf13d91576d78883522
MD5 fbedf1aea2bfdcbf41668092e3badfe1
BLAKE2b-256 605c392b6cb50b890f82a9c3e74905704dcb47f4d495d8be64770bca26554680

See more details on using hashes here.

Supported by

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