skillfed

click-spinner

Spinner for Click

click-spinner v0.2.0 3.9M downloads/30d#2,474 on PyPI296
Permissive license MIT Active released

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-spinner

uv

uv add click-spinner

poetry

poetry add click-spinner

Installing 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

terminal spinnerprogress indicator cliloading animationcommand line spinnercli progress displayterminal loading indicator
cli-uiprogress-indicator

More Terminals packages