BrianPugh/cyclopts
Intuitive, easy CLIs based on python type hints. observed · 2026-09-03
Health v2 · maintenance only
90/100
- Activity 100
- Release rhythm 87
- Longevity 73
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: 3.0
- age_days: 1035
- days_rel: 7
- days_push: 0
- n_releases_24m: 111
Adoption not part of the score
1244 stars · 54 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cyclopts is a modern Python CLI framework that builds command-line interfaces from function signatures and type hints. It supports advanced typing (Pydantic, dataclasses, attrs, Unions, Literals), automatic help generation from docstrings, and command registration via decorators.
Use cases
- build a CLI from python type hints
- create multi-command CLI apps with subcommands
- generate help pages automatically from docstrings
- parse complex types like unions and pydantic models from command-line arguments
- replace argparse or typer with a more intuitive CLI library
- add argument validation and converters to CLI tools
When to choose
- you want a terse, type-hint-driven CLI framework in Python 3.10+
- you need richer type support and docstring-based help than Typer provides
- you use Pydantic, dataclasses, or attrs models as CLI parameters
When to avoid
- you need to support Python versions older than 3.10
- you prefer minimal dependencies or the stdlib argparse
- you are building CLIs outside the Python ecosystem
Facets
library · maturity active
cli developer-tools developer-tools python cli cross-platform argument-parser type-hints cli-framework docstring-help pydantic-support command-line python
2 sources
- readme: https://github.com/BrianPugh/cyclopts · fetched 2026-09-03 · 350a8e6d3949
- registry_pypi: https://pypi.org/pypi/cyclopts/json · fetched 2026-08-29 · f376c25c9f54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| BrianPugh/cyclopts | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="BrianPugh/cyclopts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem