{ "info": { "author": "Wolphin", "author_email": "wolphin@wolph.in", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Django shortcuts\n\n**You spend too much time typing `python3 manage.py`**\n\n[![badge](https://badge.fury.io/py/django-shts3.svg)](https://pypi.python.org/pypi/django-shts3)\n\nThe tool is already used by [Uptrader](https://uptrader.io/) team for more then a year\n\nIt's a fork of [django-shortcuts](https://github.com/jgorset/django-shortcuts) by [Johannes Gorset](https://github.com/jgorset)\n\n### Key improvements:\n- Python 3 support (but no support for Python 2)\n- config file for user-defined shortcuts\n- support for python flags\n\n## Installation\n\n```\n$ pip3 install django-shts3\n```\n\n## What problem does the helper script address\n\nThe tool allows much shorter commands when using Django's `manage.py` script\n\n#### Raw command\n\n```bash\npython3 manage.py shell\n```\n\n#### Command with `django-shts3` helper\n\n```bash\nd s\n```\n\nUnlike raw command, the helper script can be called from any project subdirectory, not only from project root. \n\n## Usage\n\nPyPi package installs `django` and `d` binaries\nAll arguments with `-` at the begining before command are threated as Python flags.\n\n```\n$ django \n\n$ cd any/project/subdirectory\n$ d \n```\n\n## Default shortcuts\n\nAlias | Command\n--------|---------------\nc | collectstatic\nr | runserver\ns / sh | shell\nt | test\nm | migrate\nmkm | makemigrations\ncsu | createsuperuser\ncpw | changepassword\nsa | startapp\nsp | startproject\n\n## Configuration file\n\nThe program looks for `.django_shts3` file in home directory and loads extra commands from it.\nThey overwrite default commands. File format is:\n\n```\nalias @@@ command\nm @@@ migrate\n```\n\n### Example:\n\nI have docker container with Django and I should bind to 0.0.0.0:8000 on runserver command, so I have:\n\n```\n$ cat ~/.django_shts3\nr @@@ runserver 0.0.0.0:8000\n```\n\nThat allows me to start Django server like:\n\n```\n$ d r\n```\n\nOr same thing, but with deprication warnings:\n\n```\n$ d -Wd r\n```\n\n## Contributing\n\nPull requests are welcome!\n\nReport all problems to [GitLab issues](https://gitlab.com/q_wolphin/django-shts3/issues)\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://gitlab.com/q_wolphin/django-shts3", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-shts3", "package_url": "https://pypi.org/project/django-shts3/", "platform": "", "project_url": "https://pypi.org/project/django-shts3/", "project_urls": { "Homepage": "https://gitlab.com/q_wolphin/django-shts3" }, "release_url": "https://pypi.org/project/django-shts3/4.3.1/", "requires_dist": null, "requires_python": "", "summary": "Start Django dev server faster", "version": "4.3.1" }, "last_serial": 4074535, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "159da5374b8d03bca3b00423142bbcfc", "sha256": "fd68a4d3360a29a84de3021116853c92d5b482d7370cc7c7ae0d22933d0f10a1" }, "downloads": -1, "filename": "django_shts3-1.0-py3.4.egg", "has_sig": false, "md5_digest": "159da5374b8d03bca3b00423142bbcfc", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 3706, "upload_time": "2017-05-25T16:46:32", "url": "https://files.pythonhosted.org/packages/96/5f/021de97f0c2d01eef289cd54209394a6d32fac75a7fc2e265342f47ac418/django_shts3-1.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "54e23f0d978cd5ffe32aad3a91c9dee5", "sha256": "892b8824fc8bd54adf4ed1b5b14252ea0b2380d1c32de0043d0c9608b126b28e" }, "downloads": -1, "filename": "django_shts3-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "54e23f0d978cd5ffe32aad3a91c9dee5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3884, "upload_time": "2017-05-25T16:46:31", "url": "https://files.pythonhosted.org/packages/2b/cd/c9ed078f2075c27e146baca29d8c7448245411df860cf4bcb96306b6f92d/django_shts3-1.0-py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7d64bf79b26f46c499f35313ea83f9a6", "sha256": "22897ae0417b92118fd31213a9ceff943d16c32bc43b693768687559688aa6d5" }, "downloads": -1, "filename": "django_shts3-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7d64bf79b26f46c499f35313ea83f9a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3918, "upload_time": "2017-05-25T16:46:30", "url": "https://files.pythonhosted.org/packages/eb/6a/480e376b5e4ebfbee2eb2afe87176e00da9be103c565298321b3ca31de84/django_shts3-1.0.1-py3-none-any.whl" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "291dffd50163988abdb46f3be7ef9dac", "sha256": "989c30f0982799d27d881387a59152f7d42360faa678f84d64398d26483ce5c8" }, "downloads": -1, "filename": "django_shts3-2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "291dffd50163988abdb46f3be7ef9dac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4304, "upload_time": "2017-05-29T11:50:21", "url": "https://files.pythonhosted.org/packages/c5/75/f36889683d9d349caf18947418b0b420ef2b3954a8f606632ec9cc8c9137/django_shts3-2.0-py3-none-any.whl" } ], "3.0": [ { "comment_text": "", "digests": { "md5": "88e166a0aefe6eb3952b48da4dffbca8", "sha256": "6cf6ee3afb09f9f613ebcc979729cf4ee567029cedf8464c77b0a1aff80932d5" }, "downloads": -1, "filename": "django_shts3-3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "88e166a0aefe6eb3952b48da4dffbca8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4340, "upload_time": "2017-05-29T12:57:51", "url": "https://files.pythonhosted.org/packages/fd/9d/363a878ff6b7f5be9c974cdb23c43ca78d99471185f3b8b1b61dc96693cf/django_shts3-3.0-py3-none-any.whl" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "9dda8facbdedf9fe6b9c6c569bdbf6a0", "sha256": "17b548b5f9b1bda8729ca0df6fcb1a2206ecdd87a80f24eb0addb5e3ad9771e7" }, "downloads": -1, "filename": "django_shts3-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9dda8facbdedf9fe6b9c6c569bdbf6a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4374, "upload_time": "2017-05-29T23:14:10", "url": "https://files.pythonhosted.org/packages/ed/19/f47d50177043382c290da955a5d7bb4965d0938b6625d309c2e7717da5f5/django_shts3-3.0.1-py3-none-any.whl" } ], "4.0.1": [ { "comment_text": "", "digests": { "md5": "b06ae9ffdd07e7f4d634e11b11b2b561", "sha256": "0e9423cfd503fef8197f5649ddb95fd6490fe812ab21e9c53e5e3bdb3e705e3d" }, "downloads": -1, "filename": "django_shts3-4.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b06ae9ffdd07e7f4d634e11b11b2b561", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4843, "upload_time": "2017-08-14T17:59:06", "url": "https://files.pythonhosted.org/packages/e7/64/60b3752eeec4ac1e208d2cdcba9773a8c6d5e413b30f56dfb7b0c0aad219/django_shts3-4.0.1-py3-none-any.whl" } ], "4.2": [ { "comment_text": "", "digests": { "md5": "118b5821940324d23898bb62e2ce8a80", "sha256": "bf8106962097f8c81418f4e855d4b7746f9fd4d0e2581388b5e955952a8f7dd0" }, "downloads": -1, "filename": "django_shts3-4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "118b5821940324d23898bb62e2ce8a80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3355, "upload_time": "2018-05-29T18:46:40", "url": "https://files.pythonhosted.org/packages/74/24/9e9078049757f5e928ed2c4fd30757027f471e07c6405c3513e094d99332/django_shts3-4.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57dee34bb488099ccbbea20ce8d235d7", "sha256": "826d214113331e7133d4e3879be185b3e7a33a0b28c8aad586955b3ebbca8f91" }, "downloads": -1, "filename": "django-shts3-4.2.tar.gz", "has_sig": false, "md5_digest": "57dee34bb488099ccbbea20ce8d235d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3704, "upload_time": "2018-05-29T18:46:41", "url": "https://files.pythonhosted.org/packages/34/88/1bbf4befdabd9c78317c31ba10973927b539c44e12fff0076087fca519ff/django-shts3-4.2.tar.gz" } ], "4.3": [ { "comment_text": "", "digests": { "md5": "abca0ab991f9f94461189ef8748026a1", "sha256": "76cf6b89d48ee66352a0c194c996634ead3316123b2dbe4e7c801953dc8a7641" }, "downloads": -1, "filename": "django_shts3-4.3-py3-none-any.whl", "has_sig": false, "md5_digest": "abca0ab991f9f94461189ef8748026a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3523, "upload_time": "2018-07-15T22:41:25", "url": "https://files.pythonhosted.org/packages/8e/3a/fc4ecf4bfb63643df748eeaa7d472b239ce5b2b93d2749d8db99fe74a1b5/django_shts3-4.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0d1777eed28f6df3bd4b6b6a15862f3", "sha256": "003ee29bac033028ddf40d45755464485336747bc0fad83e59434ee89750777d" }, "downloads": -1, "filename": "django-shts3-4.3.tar.gz", "has_sig": false, "md5_digest": "e0d1777eed28f6df3bd4b6b6a15862f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3955, "upload_time": "2018-07-15T22:41:26", "url": "https://files.pythonhosted.org/packages/e0/c6/09b436bf9bdcee2c053fa88ef101a2e1b8f4f007e3e7848c8284a1679c70/django-shts3-4.3.tar.gz" } ], "4.3.1": [ { "comment_text": "", "digests": { "md5": "f76529cd6fc6c24e42801a7e71af6eb7", "sha256": "f527eba14965f180de02aa7aaaba4b2b21a8e40652cdcd9aa2d202cfd5405e82" }, "downloads": -1, "filename": "django_shts3-4.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f76529cd6fc6c24e42801a7e71af6eb7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3617, "upload_time": "2018-07-17T16:48:25", "url": "https://files.pythonhosted.org/packages/53/2a/2b6cdb1a90adb5b453a020c001134e5fd9c5cd86301bd954c5592c4a8494/django_shts3-4.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f323342b3b139f8f883291d2f00b057c", "sha256": "a5daff792c7c5da96b511b94756898bde71de4028ad92a92477749e954ab5d30" }, "downloads": -1, "filename": "django-shts3-4.3.1.tar.gz", "has_sig": false, "md5_digest": "f323342b3b139f8f883291d2f00b057c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4031, "upload_time": "2018-07-17T16:48:26", "url": "https://files.pythonhosted.org/packages/14/49/f1a25bc6f60e21ff290693c31459c6ba0e00ddcdbd69e406cce45816c7ab/django-shts3-4.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f76529cd6fc6c24e42801a7e71af6eb7", "sha256": "f527eba14965f180de02aa7aaaba4b2b21a8e40652cdcd9aa2d202cfd5405e82" }, "downloads": -1, "filename": "django_shts3-4.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f76529cd6fc6c24e42801a7e71af6eb7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3617, "upload_time": "2018-07-17T16:48:25", "url": "https://files.pythonhosted.org/packages/53/2a/2b6cdb1a90adb5b453a020c001134e5fd9c5cd86301bd954c5592c4a8494/django_shts3-4.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f323342b3b139f8f883291d2f00b057c", "sha256": "a5daff792c7c5da96b511b94756898bde71de4028ad92a92477749e954ab5d30" }, "downloads": -1, "filename": "django-shts3-4.3.1.tar.gz", "has_sig": false, "md5_digest": "f323342b3b139f8f883291d2f00b057c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4031, "upload_time": "2018-07-17T16:48:26", "url": "https://files.pythonhosted.org/packages/14/49/f1a25bc6f60e21ff290693c31459c6ba0e00ddcdbd69e406cce45816c7ab/django-shts3-4.3.1.tar.gz" } ] }