typer
Typer, build great CLIs. Easy to code. Based on Python type hints.
Install
typer on PyPI
pip
pip install typeruv
uv add typerpoetry
poetry add typerPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — shellingham, rich, annotated-doc, colorama |
| Maintenance | actively maintained — 10 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: typer-0.27.1-py3-none-any.whl
About typer
from the package's own PyPI description — quoted content, verbatim
<p align="center"> <a href="https://typer.tiangolo.com"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg#only-light" alt="Typer"></a>
</p> <p align="center"> <em>Typer, build great CLIs. Easy to code. Based on Python type hints.</em> </p> <p align="center"> <a href="https://github.com/fastapi/typer/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster"> <img src="https://github.com/fastapi/typer/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test"> </a> <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/typer"> <img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/typer.svg" alt="Coverage"> <a href="https://pypi.org/project/typer"> <img src="https://img.shields.io/pypi/v/typer?color=%2334D058&label=pypi%20package" alt="Package version"> </a> </p>
Documentation: https://typer.tiangolo.com
Source Code: https://github.com/fastapi/typer
Typer is a library for building <abbr title="command line interface, programs executed from a terminal">CLI</abbr> applications that users will **love...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Typer builds command-line interfaces from Python type hints, automatically generating argument parsing, help text, and shell completion with minimal boilerplate.
Low friction: pure Python wheel with four runtime dependencies (shellingham, rich, annotated-doc, colorama). Active maintenance—last release 10 days ago with recent commits.
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.
Usage
pip install typer
import typer
def main(name: str):
print(f"Hello {name}")
if __name__ == "__main__":
typer.run(main)
Requires Python 3.10 or later.
Verdict: Typer is actively maintained with no known vulnerabilities, permissive MIT licensing, and low install friction. It scales from trivial single-function CLIs to complex command trees while leveraging Python's type system for automatic validation and documentation.
Needs verification
- Whether the four runtime dependencies (shellingham, rich, annotated-doc, colorama) introduce any transitive security concerns or maintenance risks.
- Performance characteristics and memory footprint for large CLI applications with many subcommands.
- Repository popularity metrics and community adoption breadth.
Similar packages
permissive · top 1,000 on PyPI
fastapipermissive · top 100 on PyPI
annotated-docpermissive · top 100 on PyPI
griffepermissive · top 1,000 on PyPI
fastapi-clipermissive · top 1,000 on PyPI
fastapi-cloud-clipermissive · top 1,000 on PyPI
pydantic-ai-slimpermissive · top 1,000 on PyPI
multitaskingpermissive · top 1,000 on PyPI
typing-inspectionpermissive · top 100 on PyPI
clickpermissive · top 100 on PyPI