px
pypx

click-spinner

v0.2.0

Spinner for Click

4 KB Python 3.8+ py3-none-anyMIT
Diff
$ uv add click-spinner

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

Details

Version
0.2.0
License
MIT
Python
<4,>=3.8
Maintainer
Yoav Ram <[email protected]>

Release Cadence

2
releases in the past year
avg 398 days between releases

Maintainers