Cleo
Python library for building beautiful and testable command-line interfaces.
Dev workflow and config PyPI MIT
How Cleo is used
Cleo is a dependency in 2 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 32 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Click (155 projects). Projects that use it most often also use AnyIO (96.9%), attrs (96.9%), CFFI (96.9%).
Cleo popularity over time
Gid Score 50: downloads 85, use in agent projects 34, GitHub stars 17, downloads trend 52 (each 0-100). How it is calculated.
Often used with Cleo
| AnyIO | 96.9% of Cleo projects · 65.4× more than average |
|---|---|
| attrs | 96.9% of Cleo projects · 139.9× more than average |
| CFFI | 96.9% of Cleo projects · 150.3× more than average |
| charset-normalizer | 96.9% of Cleo projects · 89.8× more than average |
| distro | 96.9% of Cleo projects · 167.1× more than average |
| fastjsonschema | 96.9% of Cleo projects · 751.8× more than average |
From all 32 projects in our scan that use Cleo, including the dependency samples.
How Cleo is funded
GitHub Sponsors
| @sdispater | 3 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes tomlkit, Pendulum.
Ways to fund Cleo
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | pip install cleo |
|---|---|
| Main stacks | Python (32) |
| Example projects | Paper2Poster/Paper2Poster, YuhangChen1/Paper2All, bingreeky/MaAS, AutoLab-SAI-SJTU/AutoPage, farzad528/mcp-server-azure-ai-agents |
Alternatives to Cleo
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Cleo are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Click pypi Python package for composing command-line interfaces with decorators. |
81 | 155 (9.6%) | 227M | 17.8K | BSD-3-Clause |
| Typer pypi Framework for building CLI applications using Python type hints. |
79 | 125 (7.7%) | 66M | 20.1K | MIT |
More in Dev workflow and config: dotenv Husky python-dotenv lint-staged concurrently Rich Pydantic Settings cross-env