{"repo":"django-commons/django-typer","free":true,"listed":false,"github":"https://github.com/django-commons/django-typer","clone":"git clone https://github.com/django-commons/django-typer.git","description":"Use Typer (type hints) to define the interface for your Django management commands.","language":"Python","stars":270,"topics":["admin","cli","command-line","commands","django","management","python","typer","click","python3"],"license":"MIT","category":"cli-tools","readme_excerpt":"django-typer Use static typing to define the CLI for your Django management commands with Typer. Optionally use the provided TyperCommand class that inherits from BaseCommand. This class maps the Typer interface onto a class based interface that Django developers will be familiar with. All of the BaseCommand functionality is inherited, so that TyperCommand can be a drop in replacement. django-typer makes it easy to: Define your command CLI interface in a clear, DRY and safe way using type hints Create subcommands and hierarchical groups of commands. Use the full power of Typer's parameter types to validate and parse command line inputs. Create beautiful and information dense help outputs. Configure the rendering of exception stack traces using rich. Install shell tab-completion support for bash, zsh, fish, and powershell. Create custom and portable shell tab-completions for your CLI parameters. Port existing commands (TyperCommand is interface compatible with BaseCommand). Use either a Django-style class-based interface or the Typer-style interface to define commands. Add plugins to upstream commands. Please refer to the full documentation for more information. 🚨 Upgrade Notice There are breaking changes between 2.x and 3.x, mostly involving shell tab completion. See the changelog for migration steps . Installation 1. Clone django-typer from GitHub or install a release off PyPI: 2. Optionally add django typer to your INSTALLED APPS setting: You only need to install django ty","default_branch":null,"files":null,"tree":[],"storefront":"/r/django-commons","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/django-commons/django-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."}