fastapi/typer
Typer, build great CLIs. Easy to code. Based on Python type hints. observed · 2026-10-14
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 4.0
- age_days: 2492
- days_rel: 14
- days_push: 14
- n_releases_24m: 47
Adoption not part of the score
20097 stars · 989 forks observed · 2026-10-14
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.99
Typer is a Python library for building modern command‑line interfaces using standard type hints. It also provides a `typer` command that can turn ordinary scripts into fully featured CLIs.
Use cases
- Create a CLI tool with automatic help and completion
- Convert an existing Python script into a command‑line program
- Build complex command hierarchies with subcommands and options
- Develop a CLI that integrates seamlessly with IDE autocompletion
- Rapidly prototype a command‑line interface with minimal code
When to choose
- You are writing a Python CLI and want type‑hint‑driven argument parsing
- You need automatic shell completion across Bash, Zsh, Fish, and PowerShell
- You prefer a library with FastAPI‑like design and strong editor support
- You want a single dependency that bundles Click, Rich, and Shellingham
When to avoid
- You need a CLI framework for languages other than Python
- Your project requires low‑level custom parsing not covered by Click
- You need a GUI or web‑based interface instead of a terminal UI
Facets
library · maturity active
cli developer-tools python cli fastapi-sibling type-hints click-wrapper auto-completion command-line
6 sources
- readme: https://github.com/fastapi/typer · fetched 2026-10-14 · d411243f6e00
- homepage: https://typer.tiangolo.com/ · fetched 2026-10-05 · 507b8d46e78d
- site_page: https://typer.tiangolo.com/about · fetched 2026-10-05 · d588016e6844
- site_page: https://typer.tiangolo.com/tutorial/install · fetched 2026-10-05 · 05dab5ba9b38
- site_page: https://typer.tiangolo.com/features · fetched 2026-10-05 · 754778f41e2d
- registry_pypi: https://pypi.org/pypi/typer/json · fetched 2026-10-05 · cd3eebdb1325
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fastapi/typer | main | 98 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem