Skip to main content

Use Typer to define the CLI for your Django management commands.

Project description

MIT license PyPI version fury.io PyPI pyversions PyPI djversions PyPI status Documentation Status Code Cov Test Status

django-typer

Use Typer to define the CLI for your Django management commands. Provides a TyperCommand class that inherits from django.core.management.BaseCommand and allows typer-style annotated function handlers. All of the BaseCommand functionality is preserved, so that TyperCommand can be a drop in replacement.

from django_typer import TyperCommand


class Command(TyperCommand):

    help = 'A command that uses Typer'

    def handle(self, arg1: str, arg2: str, arg3: float = 0.5, arg4: int = 1):
        ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_typer-0.1.0b0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

django_typer-0.1.0b0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file django_typer-0.1.0b0.tar.gz.

File metadata

  • Download URL: django_typer-0.1.0b0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/23.1.0

File hashes

Hashes for django_typer-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 bb4bfc4f7015f14ec24a2b5122960fb189b57924111cecde4b2cc1955940dd1e
MD5 1189f69129d0972a468c367c74f2bfb0
BLAKE2b-256 902ee0d24d1eea99f1994727c585b101a1a54170d0473a81bab37f3dd24e4885

See more details on using hashes here.

File details

Details for the file django_typer-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: django_typer-0.1.0b0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/23.1.0

File hashes

Hashes for django_typer-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac07f097c2ded3530467be57e4e0047ecc01d0374025a80422b939e3d17ea4d
MD5 25f947f967aa44ed27ef7ef7d5ca116e
BLAKE2b-256 44d0b99b22eb44f7cf3ab38618d2785c75af339b5bf4ac0cad76786901f04201

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page