{"repo":"fastapi/typer","free":true,"listed":false,"github":"https://github.com/fastapi/typer","clone":"git clone https://github.com/fastapi/typer.git","description":"Typer, build great CLIs. Easy to code. Based on Python type hints.","language":"Python","stars":19897,"topics":["cli","click","python3","typehints","terminal","shell","python","typer"],"license":"MIT","category":"cli-tools","readme_excerpt":"Typer, build great CLIs. Easy to code. Based on Python type hints. --- Documentation : https://typer.tiangolo.com 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. The key features are: Intuitive to write : Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs. Easy to use : It's easy to use for the final users. Automatic help, and automatic completion for all shells. Short : Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs. Start simple : The simplest example adds only 2 lines of code to your app: 1 import, 1 function call . Grow large : Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments. Run scripts : Typer includes a typer command/program that you can use to run scripts, automatically converting them to CLIs, even if they don't use Typer internally. FastAPI of CLIs Typer is FastAPI's little sibling, it's the FastAPI of CLIs. Installation First, install uv , and then add Typer to your project: This installs both the Typer library and the typer command in the project's virtual environment. To use typer directly with shell completion, activate t","default_branch":null,"files":null,"tree":[],"storefront":"/r/fastapi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fastapi/typer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}