{"id":23074,"library":"django-typer","title":"django-typer","description":"Use Typer to define the CLI for your Django management commands. Supports the full Typer interface including subcommands, arguments, options, and rich output. Current version 3.7.2, requires Python 3.10+, actively maintained with frequent releases.","status":"active","version":"3.7.2","language":"python","source_language":"en","source_url":"https://github.com/django-commons/django-typer","tags":["django","cli","typer","management-commands","python"],"install":[{"cmd":"pip install django-typer","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required Django project","package":"django","optional":false},{"reason":"CLI framework","package":"typer","optional":false},{"reason":"Rich output formatting","package":"rich","optional":true}],"imports":[{"wrong":"from django_typer import TyperCommand","symbol":"TyperCommand","correct":"from django_typer import TyperCommand"}],"quickstart":{"code":"from django_typer import TyperCommand\nimport typer\n\nclass Command(TyperCommand):\n    def handle(self):\n        typer.echo(\"Hello from django-typer!\")\n","lang":"python","description":"Define a management command by subclassing TyperCommand instead of BaseCommand."},"warnings":[{"fix":"Upgrade to Python 3.10 or higher.","message":"django-typer drops support for Python versions below 3.10 starting from v3.0.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Always subclass TyperCommand in management commands.","message":"Commands must use TyperCommand, not BaseCommand. Mixing them may cause unexpected behavior.","severity":"gotcha","affected_versions":"all"},{"fix":"Update to django-typer >=3.6.0 and install typer (not typer-slim).","message":"django-typer uses typer internally; ensure the typer version is compatible. Versions before 3.6.0 used typer-slim.","severity":"gotcha","affected_versions":"<3.6.0"}],"env_vars":null,"search_vec":"'3.10':32 '3.7.2':29 'activ':33 'argument':22 'cli':9,39 'command':14,43 'current':27 'defin':7 'django':2,12,38 'django-typ':1 'frequent':36 'full':17 'includ':20 'interfac':19 'maintain':34 'manag':13,42 'management-command':41 'option':23 'output':26 'python':31,44 'releas':37 'requir':30 'rich':25 'subcommand':21 'support':15 'typer':3,5,18,40 'use':4 'version':28","created_at":"2026-05-01T06:02:16.245655+00:00","updated_at":"2026-05-01T06:02:16.245655+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'TyperCommand' from 'django_typer' (/tmp/tmpq0t9zl2h/venv/lib/python3.12/site-packages/django_typer/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.7.3","cli_name":"","cli_version":null,"type":"library","homepage":"https://django-typer.readthedocs.io","github":"https://github.com/django-commons/membership","docs":"https://django-typer.readthedocs.io","changelog":"https://django-typer.readthedocs.io/en/stable/changelog.html","pypi":"https://pypi.org/project/django-typer/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}