Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python 3.6+ type hints. Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs. It's easy to use for the final users. Automatic help, and automatic completion for all shells. Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs. The simplest example adds only 2 lines of code to your app: 1 import, 1 function call. Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments. And it's intended to be the FastAPI of CLIs. Typer stands on the shoulders of a giant. Its only internal dependency is Click.
Features
- Intuitive to write
- Easy to use
- Short
- Start simple and grow large
- You don't have to learn a new syntax
- Editor support, including completion and type checks everywhere