{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[](https://pypi.org/project/django-subcommands/)\n\n#### Installation\n```bash\n$ [sudo] pip install django-subcommands\n```\n\n#### Classes\nclass|`__doc__`\n-|-\n`django_subcommands.SubCommands` |SubCommands class. attrs: `subcommands` (dict)\n\n#### Examples\n`management/commands/command.py`\n```python\nfrom django.core.management.base import BaseCommand\nimport django_subcommands\n\nclass SubCommand1(BaseCommand):\n def handle(self, *args, **options):\n ...\n\nclass SubCommand2(BaseCommand):\n def handle(self, *args, **options):\n ...\n\nclass Command(django_subcommands.SubCommands):\n subcommands = {\"subcommand1\": SubCommand1,\"subcommand2\":SubCommand2}\n```\n\n```bash\n$ python manage.py command subcommand1\n```\n\n
", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/looking-for-a-job/django-subcommands.py", "keywords": "django subcommands", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-subcommands", "package_url": "https://pypi.org/project/django-subcommands/", "platform": "", "project_url": "https://pypi.org/project/django-subcommands/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/django-subcommands.py" }, "release_url": "https://pypi.org/project/django-subcommands/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "Django subcommands", "version": "2019.4.13" }, "last_serial": 5587668, "releases": { "2019.3.13": [ { "comment_text": "", "digests": { "md5": "36c902bf9dce68c0373ccae2d5410fa0", "sha256": "b6d97ed7aafcf1002abb7c285fda5ea801e5397e886e6d5d3f6ff22eee32f86c" }, "downloads": -1, "filename": "django_subcommands-2019.3.13-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "36c902bf9dce68c0373ccae2d5410fa0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2443, "upload_time": "2019-03-18T06:46:35", "url": "https://files.pythonhosted.org/packages/1a/b3/5804dfa4160a34b5d84b54c93e0f751512221d96d530c78d728f55076058/django_subcommands-2019.3.13-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1e19aac9a9fbe13fa9810826788dfa0", "sha256": "a201c88cd7ce3a7c15b8802bf2dce4a91576a49cfee4107030237efe75779a5e" }, "downloads": -1, "filename": "django-subcommands-2019.3.13.tar.gz", "has_sig": false, "md5_digest": "d1e19aac9a9fbe13fa9810826788dfa0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1584, "upload_time": "2019-03-18T06:46:37", "url": "https://files.pythonhosted.org/packages/15/7b/80368d000ba50bc065930ddfb23624e959bbfee7892a63ea5e0c79087b37/django-subcommands-2019.3.13.tar.gz" } ], "2019.3.22": [ { "comment_text": "", "digests": { "md5": "d56229055427255577a550178724f51a", "sha256": "860349ad023550a3850cd0db962dffc363d488640c26d73beb9672096e5e3cd3" }, "downloads": -1, "filename": "django_subcommands-2019.3.22-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d56229055427255577a550178724f51a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 38981, "upload_time": "2019-03-24T11:00:49", "url": "https://files.pythonhosted.org/packages/1c/54/4060db089f8db535a55f7725ac3c9f38d5d60eca71570d1bc083c20695e8/django_subcommands-2019.3.22-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2328c83fb59b638c6c3097d85e2803b2", "sha256": "b8c1a09ef0402994118cfa42afee74f7877378b57b68aaad856c461b9d44f5a9" }, "downloads": -1, "filename": "django-subcommands-2019.3.22.tar.gz", "has_sig": false, "md5_digest": "2328c83fb59b638c6c3097d85e2803b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1685, "upload_time": "2019-03-24T11:00:51", "url": "https://files.pythonhosted.org/packages/7b/05/615f9cb97ee7dac79d4c0fc21716ab5d3e6fd87886b9d41336bf63bc2506/django-subcommands-2019.3.22.tar.gz" } ], "2019.4.13": [ { "comment_text": "", "digests": { "md5": "f0f190ae859149f9919a54ecda6f9502", "sha256": "49926910632cb8043bda0bde35893421508b8a80f401f83e04a690baf9b132e0" }, "downloads": -1, "filename": "django-subcommands-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "f0f190ae859149f9919a54ecda6f9502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1770, "upload_time": "2019-04-13T07:44:49", "url": "https://files.pythonhosted.org/packages/52/6d/be3b670ad3c21a70cc1d4e7df45093c805fb2d4b29783fb00c554d40cdeb/django-subcommands-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0f190ae859149f9919a54ecda6f9502", "sha256": "49926910632cb8043bda0bde35893421508b8a80f401f83e04a690baf9b132e0" }, "downloads": -1, "filename": "django-subcommands-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "f0f190ae859149f9919a54ecda6f9502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1770, "upload_time": "2019-04-13T07:44:49", "url": "https://files.pythonhosted.org/packages/52/6d/be3b670ad3c21a70cc1d4e7df45093c805fb2d4b29783fb00c554d40cdeb/django-subcommands-2019.4.13.tar.gz" } ] }