python-poetry/cleo
Cleo allows you to create beautiful and testable command-line interfaces. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4643
- days_rel: n/a
- days_push: 30
- n_releases_24m: 0
Adoption not part of the score
1353 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cleo is a Python library for building command-line interfaces with declarative commands, arguments, options, and styled terminal output. It is the CLI framework underlying Poetry and emphasizes testable command design.
Use cases
- build a cli tool in python
- parse command-line arguments and options
- add colored output to terminal commands
- write testable command-line commands
- create multi-command cli applications
- build a cli framework for a python package
When to choose
- you want a declarative, class-based cli framework in python
- you need styled terminal output with custom color styles
- testability of cli commands is a priority
- you are building tooling in the poetry ecosystem
When to avoid
- you want a minimal argparse-style standard library solution
- you need a mature, stable api - cleo is being rewritten for 3.0
- you are building guis or web apps rather than clis
Facets
library · maturity active
cli developer-tools developer-tools python cli cross-platform cli-framework command-line-interface terminal-output-styling testable-commands poetry-ecosystem command-line
2 sources
- readme: https://github.com/python-poetry/cleo · fetched 2026-08-28 · ce4f4cbdb703
- registry_pypi: https://pypi.org/pypi/cleo/json · fetched 2026-08-29 · 0184d864d0b4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-poetry/cleo | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="python-poetry/cleo")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem