skillfed

typer

Typer, build great CLIs. Easy to code. Based on Python type hints.

typer Permissive license MIT Active 19,894 v0.27.1 released

Install

typer on PyPI

pip

pip install typer

uv

uv add typer

poetry

poetry add typer

Package 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

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

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.
cli framework python type hintscommand line interface builderautomatic argument parsingpython cli with completiontype-driven cli toolshell completion generatorsubcommand framework

Similar packages