Skip to main content

django-subcommand2

https://img.shields.io/pypi/v/django-subcommand2.svg https://img.shields.io/pypi/dm/django-subcommand2.svg https://img.shields.io/travis/CptLemming/django-subcommand2.svg

Documentation

The full documentation is at https://django-subcommand2.readthedocs.org.

Install

Install django-subcommand:

pip install django-subcommand2

Usage

# myapp.management.commands.parent_command.py
from subcommand.base import SubcommandCommand

from .subcommands.sub import MySubcommand


class Command(SubcommandCommand):
    help = 'My Parent Command'

    subcommands = {
        'sub': MySubcommand,  # python manage.py parent_command sub
    }


# myapp.management.commands.subcommands.sub.py
from django.core.management.base import BaseCommand


class MySubcommand(BaseCommand):
    help = 'My Sub Command'

History

0.1.0 (2016-01-26)

  • First release on PyPI.

0.1.1 (2016-01-26)

  • Update badges.

Metadata

Release files for django-subcommand2 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-subcommand2 0.1.1
File Size Uploaded Provenance Actions
django-subcommand2-0.1.1.tar.gz 5.5 kB Without provenance Details for django-subcommand2-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-subcommand2 0.1.1
File Interpreter ABI Platform Actions
django_subcommand2-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_subcommand2-0.1.1-py2.py3-none-any.whl

Total release size: 9.9 kB

Release files / django-subcommand2-0.1.1.tar.gz

Download URL django-subcommand2-0.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3e88c891dead685e98a835f596dc0280b7c67f77a76602955e93c39c10ccd741
BLAKE2b-256 checksum
How to use checksums
0a984f1ebbbf2d2e22638becb5da415f5efd4203595a7896699a6628f432292a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_subcommand2-0.1.1-py2.py3-none-any.whl

Download URL django_subcommand2-0.1.1-py2.py3-none-any.whl
Size 4.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a0321f1ecabe5d7db4eb165b23f1aa037926d12724d28a53e36842ca74a5313d
BLAKE2b-256 checksum
How to use checksums
7b700993d88af194b98951c47a1d0b59d5e47a8507dd1722fe3614b92ef6ffbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-subcommand2 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page