typer 0.12.5
0
Typer, build great CLIs. Easy to code. Based on Python type hints.
Contents
Typer, build great CLIs. Easy to code. Based on Python type hints.
Stars: 15565, Watchers: 15565, Forks: 663, Open Issues: 192The fastapi/typer
repo was created 4 years ago and the last code push was 14 hours ago.
The project is extremely popular with a mindblowing 15565 github stars!
How to Install typer
You can install typer using pip
pip install typer
or add it to a project with poetry
poetry add typer
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/typer/
- Documentation:
- https://typer.tiangolo.com
- GitHub Repo:
- https://github.com/tiangolo/typer
Classifiers
- Software Development
- Software Development/Libraries
- Software Development/Libraries/Application Frameworks
- Software Development/Libraries/Python Modules
Related Packages
Errors
A list of common typer errors.
Code Examples
Here are some typer
code examples and snippets.
GitHub Issues
The typer package has 192 open issues on GitHub
Optional[Path] = typer.Argument
returnsTypeError
when passed intoopen()
- Have Typer help argument take precedence over main() docstring
- How to input an iterable as a required command-line option when prompted?
- PEP 604 Support
- Bypass all callbacks, parameter validation when '–help' is requested on any command/subcommand
- No autocompletion and syntax highlighting in callback for typer.Context but they work using click.Context
- Fetching sys.stdin using annotations in a command
- Support different CLI parser backends
- subcommand_metavar is not reflected in the help message
- Tuple type options parses every character as an individual value
- [QUESTION] why replace "_" with "-" in command name?
- Fix typo
- ✨ Add support for custom
click.ParamType
s - Specifying help for arguments & options in function docstrings
- Main app with no commands no longer shows callback docstring in v0.4.0