halo
Beautiful terminal spinners in Python
What it is and what it does
Halo is a Python library that renders animated spinners in the terminal to provide visual feedback during long-running operations. It wraps text with a rotating animation frame, letting you indicate that work is in progress without blocking output. The package supports multiple spinner styles, custom colors for both text and spinner, and terminal placement options (left or right of text). It integrates with IPython and Jupyter notebooks as well as standard terminal environments.
You can use halo as a context manager (with statement), a decorator, or by calling start/stop methods directly. It provides terminal-friendly completion symbols—checkmark for success, X for failure, warning triangle, or info icon—and lets you update the spinner text dynamically. The library depends on log-symbols, spinners, termcolor, colorama, six, and backports.shutil-get-terminal-size to handle cross-platform terminal rendering and color output.
Use it for:
- Show a spinner while downloading files or making network requests to indicate the operation is ongoing
- Display progress feedback during long-running data processing or database queries in CLI tools
- Provide visual status during build or deployment scripts, ending with success or failure symbols
- Add loading indicators to interactive CLI applications that perform background tasks
- Decorate long-running functions to automatically show a spinner without manual start/stop calls
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Halo displays animated spinners in the terminal to indicate progress or loading state during long-running operations, with support for custom text, colors, and completion symbols.
Yes, if you need terminal spinners in a CLI tool or script. The package is stable, has low install friction, carries no known vulnerabilities, and is permissively licensed. The dormant maintenance status is not a blocker for a mature, single-purpose library—but verify compatibility with your target Python versions and terminal environment before relying on it for new projects.
Install
halo on PyPI
pip
pip install halouv
uv add halopoetry
poetry add haloInstalling halo
Before you install
Low install friction with six runtime dependencies. Maintenance is dormant—last release was 2020-11-10 and no commits since 2024-06-16—but the package is stable and widely used (monthly downloads in the millions, top 5000 on PyPI).
License in practice
MIT license is permissive; you can use, modify, and distribute halo freely in commercial and private projects with minimal restrictions.
Quickstart
pip install halo
from halo import Halo
spinner = Halo(text='Loading', spinner='dots')
spinner.start()
# Run time consuming work here
spinner.stop()
Verify before relying
- Whether the package works reliably with Python versions beyond 3.8 (classifiers list only up to 3.8, but requires_python is >=3.4)
- Current compatibility with modern terminal emulators and Windows console changes since 2020
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — log-symbols, spinners, termcolor, colorama, six, backports.shutil-get-terminal-size |
| Maintenance | dormant — 2,103 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,210,453/month — #4,214 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: halo-0.0.31-py2-none-any.whl
Keywords: console, loading, indicator, progress, cli, spinner, spinners, terminal, term, busy, wait, idle
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
click-spinnerDisplays a simple animated spinner in the…
permissive · top 5,000 on PyPI
spinnersProvides an enum of more than 60 pre-defined…
permissive · top 5,000 on PyPI
yaspinYaspin displays an animated terminal spinner to…
permissive · top 5,000 on PyPI
progressProvides terminal progress bars and spinners…
permissive · top 5,000 on PyPI
alive-progressDisplays an animated progress bar in the…
permissive · top 5,000 on PyPI
log-symbolsProvides colored Unicode symbols (✔, ℹ, ⚠, ✖)…
permissive · top 5,000 on PyPI
ascii-colorsUnified terminal UI library providing colored…
permissive · top 15,000 on PyPI
simple-colorsAdds colored and styled text output to terminal…
unclear · top 15,000 on PyPI
crayonsCrayons provides colored text output for…
permissive · top 15,000 on PyPI
terminaltexteffectsRenders animated visual effects for text…
permissive · top 15,000 on PyPI