click-spinner
Spinner for Click
What it is and what it does
Click Spinner is a lightweight terminal utility that displays an animated spinner to indicate ongoing work when you cannot predict how long an operation will take. It wraps your code in a context manager, showing a simple animated character sequence while the block executes, then clearing it when done.
The package has no runtime dependencies and integrates directly into CLI applications built with Click or any other framework. It's designed for cases where a progress bar is inappropriate—when you genuinely don't know the duration—and you just need to signal to the user that something is happening.
Use it for:
- Show progress during long-running API calls or network requests where duration is unpredictable.
- Indicate activity during database queries or file I/O operations in CLI tools.
- Provide visual feedback during background tasks in scripts or automation workflows.
- Enhance user experience in command-line tools by replacing silent waits with animated feedback.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Displays a simple animated spinner in the terminal to show progress when the duration of an operation is unknown, using a context manager interface.
Yes. The package is actively maintained, has no dependencies, installs cleanly, carries a permissive license, and solves a specific, common problem in CLI development. Install it when you need terminal spinner functionality in a Python 3.8+ project.
Install
click-spinner on PyPI
pip
pip install click-spinneruv
uv add click-spinnerpoetry
poetry add click-spinnerInstalling click-spinner
Before you install
Installs with no runtime dependencies and maintains active status with recent releases, making it straightforward to add to any project.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install click-spinner
import click_spinner
with click_spinner.spinner():
# long-running operation here
pass
Requires Python 3.8 or later; for Python <3.8, use v0.1.11.
Verify before relying
- Whether the spinner output is compatible with all terminal types and environments (Windows, macOS, Linux).
- Performance characteristics when used in high-frequency or long-running operations.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 52 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,864,914/month — #2,474 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: click_spinner-0.2.0-py3-none-any.whl
Tags
More Terminals packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
coloramaColorama makes ANSI escape sequences for…
permissive · top 100 on PyPI
wcwidthMeasures the displayed width of Unicode strings…
permissive · top 1,000 on PyPI
ptyprocessRun a subprocess in a pseudo terminal (pty) and…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
clickclickProvides utility functions for Click, a…
permissive · top 5,000 on PyPI
haloHalo displays animated spinners in the terminal…
permissive · top 5,000 on PyPI
spinnersProvides an enum of more than 60 pre-defined…
permissive · top 5,000 on PyPI
progressProvides terminal progress bars and spinners…
permissive · top 5,000 on PyPI
yaspinYaspin displays an animated terminal spinner to…
permissive · top 5,000 on PyPI
alive-progressDisplays an animated progress bar in the…
permissive · top 5,000 on PyPI
progressbar2progressbar2 renders text-based progress bars…
permissive · top 5,000 on PyPI
types-click-spinnerProvides type stubs for the click-spinner…
permissive · top 15,000 on PyPI
progressbar33Displays text-based progress bars in the…
unclear · top 15,000 on PyPI
enlightenEnlighten is a console progress bar library…
copyleft · top 5,000 on PyPI