{ "info": { "author": "Lichun", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python" ], "description": "django\\_rundirect\n=================\n\nThis is simple Django command to run a custom Python script(or a single\nline of Python code) with Django settings loaded and environment setup.\nSo you need not put any Django settings related code in your script.\n\nTo install this package\n\n::\n\n pip install django_rundirect\n\nTo integrate this package into a django project, add\n*'django\\_rundirect'* to Django's INSTALLED\\_APPS.\n\nThen you can run a python script as:\n\n::\n\n python manage.py rundirect SCRIPT.py\n\nYou may pass args and options to the custom script, for example:\n\n::\n\n python manage.py rundirect SCRIPT.py some_arg --some_option=somevalue\n\nYou may run a single line of Python code, for example(like running\npython -c):\n\n::\n\n python manage.py runline \"from django.contrib.auth.models import User;print User.objects.count()\"\n\nNote that the sys.path will include the path of manage.py(or where you\nrun the python executable).\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/socrateslee/django_rundirect", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django_rundirect", "package_url": "https://pypi.org/project/django_rundirect/", "platform": "", "project_url": "https://pypi.org/project/django_rundirect/", "project_urls": { "Homepage": "https://github.com/socrateslee/django_rundirect" }, "release_url": "https://pypi.org/project/django_rundirect/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.3.0" }, "last_serial": 3725882, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "13d8d7be04db6a26618e3f59682d0aa4", "sha256": "3a5f6f896c7a1c83e348f76db8a429521bbaddb30a4c16447dadb4c3fd56e5c8" }, "downloads": -1, "filename": "django_rundirect-0.1.tar.gz", "has_sig": false, "md5_digest": "13d8d7be04db6a26618e3f59682d0aa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1651, "upload_time": "2013-08-27T01:46:01", "url": "https://files.pythonhosted.org/packages/f2/ba/7880ea37d1c5a8290fc239a98f91dcf98bc9e677e5f91955dfe4e24816d5/django_rundirect-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6e8088f4267b5c85443e5a957fce171e", "sha256": "31e80b1c5927e4219ec6fe3d2b617f7d38bd72f1b01641515d58652f319a3d55" }, "downloads": -1, "filename": "django_rundirect-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6e8088f4267b5c85443e5a957fce171e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1678, "upload_time": "2013-09-16T02:44:08", "url": "https://files.pythonhosted.org/packages/bd/82/8248e7d7f78e4c0a2c95466838a45727e6939f36081567dc9b2f03bc3072/django_rundirect-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1efa8486b5cb44c2a332810e0c753d84", "sha256": "5c8c740656785e387960306b07ab57e43955eb73b38b0b852d414bba18f8643c" }, "downloads": -1, "filename": "django_rundirect-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1efa8486b5cb44c2a332810e0c753d84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1843, "upload_time": "2015-10-15T08:19:05", "url": "https://files.pythonhosted.org/packages/22/f3/f304df2da4d6052bfed320663e107f2a30969a7f734163a08e3233aa19e3/django_rundirect-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6579e0c9c9997092580e90ba4f73c23c", "sha256": "7ad17607f13d6260d3ca21059ee549a789cb5e4aa7cf8272529d29b8ca8dc5d9" }, "downloads": -1, "filename": "django_rundirect-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6579e0c9c9997092580e90ba4f73c23c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4984, "upload_time": "2018-04-02T09:25:25", "url": "https://files.pythonhosted.org/packages/2f/e4/72bb3ec51d4df9a6f97ceaceb8715c0a3d8cd245f9953f0888f6ad7b31f0/django_rundirect-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09b0996c37b8d4eacf5b42b0c603cd11", "sha256": "4fbd18c04a669e457e9b2eb6add2f76574a42b8b2642190e542aabd28089245b" }, "downloads": -1, "filename": "django_rundirect-0.2.1.tar.gz", "has_sig": false, "md5_digest": "09b0996c37b8d4eacf5b42b0c603cd11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2260, "upload_time": "2018-04-02T09:25:23", "url": "https://files.pythonhosted.org/packages/7d/30/73108527cdea0670ba38ca7fc4d785ddc76953ae2394bfd8719b12692b0d/django_rundirect-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "a0c7d3be89b4245423420a219b14d413", "sha256": "fe4bd7c3f43df30cce28617bcbe8c4e9fc4820e92ca9d182f9f42174fe69e538" }, "downloads": -1, "filename": "django_rundirect-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a0c7d3be89b4245423420a219b14d413", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5040, "upload_time": "2018-04-02T09:41:51", "url": "https://files.pythonhosted.org/packages/d3/66/9af500bde2472128aa62ddbdfcabffe6555f19c51d22e380923ecf98262a/django_rundirect-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78a831e945cf9d0446bc1fc7b2400320", "sha256": "0eec957addaf31be65896fa96d4955de5c8c499952343b9922002db530fc531a" }, "downloads": -1, "filename": "django_rundirect-0.3.0.tar.gz", "has_sig": false, "md5_digest": "78a831e945cf9d0446bc1fc7b2400320", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2327, "upload_time": "2018-04-02T09:41:49", "url": "https://files.pythonhosted.org/packages/4f/6f/79d2dafdc5067a4099a0593f48a5b79360805f12c80cb5761804dd58a585/django_rundirect-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0c7d3be89b4245423420a219b14d413", "sha256": "fe4bd7c3f43df30cce28617bcbe8c4e9fc4820e92ca9d182f9f42174fe69e538" }, "downloads": -1, "filename": "django_rundirect-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a0c7d3be89b4245423420a219b14d413", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5040, "upload_time": "2018-04-02T09:41:51", "url": "https://files.pythonhosted.org/packages/d3/66/9af500bde2472128aa62ddbdfcabffe6555f19c51d22e380923ecf98262a/django_rundirect-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78a831e945cf9d0446bc1fc7b2400320", "sha256": "0eec957addaf31be65896fa96d4955de5c8c499952343b9922002db530fc531a" }, "downloads": -1, "filename": "django_rundirect-0.3.0.tar.gz", "has_sig": false, "md5_digest": "78a831e945cf9d0446bc1fc7b2400320", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2327, "upload_time": "2018-04-02T09:41:49", "url": "https://files.pythonhosted.org/packages/4f/6f/79d2dafdc5067a4099a0593f48a5b79360805f12c80cb5761804dd58a585/django_rundirect-0.3.0.tar.gz" } ] }