fastapi/typer
Typer, build great CLIs. Easy to code. Based on Python type hints. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- 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: 4.0
- age_days: 2444
- days_rel: 30
- days_push: 8
- n_releases_24m: 45
Adoption not part of the score
19929 stars · 975 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Typer is a Python library for building command-line interface applications based on standard Python type hints, built on top of Click. It also ships a `typer` command that converts plain Python scripts into CLIs automatically.
Use cases
- build a cli tool in python
- create command line app with subcommands
- add shell completion to my cli
- turn a python script into a cli
- argparse alternative with type hints
- build cli with automatic help and options
When to choose
- you want CLI apps driven by Python type hints with excellent editor autocompletion
- you need automatic help, subcommands, and shell completion for Bash, Zsh, Fish, and PowerShell
- you like FastAPI's design and want the same developer experience for CLIs
When to avoid
- you need a CLI framework outside the Python ecosystem
- you require fine-grained low-level control that Click exposes directly and Typer abstracts away
- you are building a GUI or web application rather than a terminal tool
Facets
library · maturity stable
cli developer-tools developer-tools python cli cross-platform type-hints click shell-completion subcommands script-runner command-line python
6 sources
- readme: https://github.com/fastapi/typer · fetched 2026-08-28 · d411243f6e00
- homepage: https://typer.tiangolo.com/ · fetched 2026-08-29 · 507b8d46e78d
- site_page: https://typer.tiangolo.com/features · fetched 2026-08-29 · 754778f41e2d
- site_page: https://typer.tiangolo.com/about · fetched 2026-08-29 · d588016e6844
- site_page: https://typer.tiangolo.com/tutorial/install · fetched 2026-08-29 · 05dab5ba9b38
- registry_pypi: https://pypi.org/pypi/typer/json · fetched 2026-08-29 · cd3eebdb1325
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fastapi/typer | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem