Typer, build great CLIs. Easy to code. Based on Python type hints.
Actively maintained. Last release 9 months ago, commits in 20 of the last 26 weeks. A safe choice.
pip install typer-slimTyper, build great CLIs. Easy to code. Based on Python type hints.
Documentation: https://typer.tiangolo.com/tutorial/typer-command/
Source Code: https://github.com/fastapi/typer
Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints.
It's also a command line tool to run scripts, automatically converting them to CLI applications.
typer-slim
⚠️ Do not install this package. ⚠️
This package, typer-slim, does nothing other than depend on typer.
There used to be a slimmed-down version of Typer called typer-slim, which didn't include the dependencies rich and shellingham, nor the typer command.
However, since version 0.22.0, we have stopped supporting this, and typer-slim now simply installs (all of) Typer.
If you want to disable Rich globally, you can set an environmental variable TYPER_USE_RICH to or .