{ "info": { "author": "Niklas Rosenstein", "author_email": "rosensteinniklas@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# pyinvoke\n\n`pyinvoke` is a simple module that is used to invoked Python applications\nusing a full function specifier, similar to distlib entrypoints.\n\nThe key advantage is that the Python application you want to run will be\nloaded as its proper module instead of as the `__main__` module. `pyinvoke`\nwill be the `__main__` module for this operation.\n\nOne of the motivating cases where `pyinvoke` comes in handy is the following:\n\n $ python -m module.main\n Traceback (most recent call last):\n File \"module/main.py\", line 7, in \n from .stuff import ham\n SystemError: Parent module '' not loaded, cannot perform relative import\n\nTo run the application with `pyinvoke`:\n\n $ python3 -m pyinvoke module.main:main\n\nApplications that depend on restarting can read the original commandline\nfrom `sys.__argv__`:\n\n```python\nargv = getattr(sys, '__argv__', sys.argv)\n```\n\n---\n\n

Copyright © 2018 Niklas Rosenstein

", "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/NiklasRosenstein/pyinvoke", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyinvoke", "package_url": "https://pypi.org/project/pyinvoke/", "platform": "", "project_url": "https://pypi.org/project/pyinvoke/", "project_urls": { "Homepage": "https://github.com/NiklasRosenstein/pyinvoke" }, "release_url": "https://pypi.org/project/pyinvoke/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.0.4" }, "last_serial": 4294359, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "dbc0805e6a61c2833737d224ebecb44c", "sha256": "39699fe0d5e9833b024ef83ff18a3a68ea2b24f82038dac359713f0f57252b8e" }, "downloads": -1, "filename": "pyinvoke-1.0.0.tar.gz", "has_sig": false, "md5_digest": "dbc0805e6a61c2833737d224ebecb44c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1423, "upload_time": "2018-03-07T02:14:01", "url": "https://files.pythonhosted.org/packages/7d/cd/855ed6cfe99e35553c4fe6d441b0601acecce410689430a89331ae9918ba/pyinvoke-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7ff93ef1c7b7127b768a08e26ac167c4", "sha256": "9d55ca9e08d8c69b0966df5ce67d939a3c1122564a33a9462391135a86541e77" }, "downloads": -1, "filename": "pyinvoke-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7ff93ef1c7b7127b768a08e26ac167c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2357, "upload_time": "2018-03-07T02:19:46", "url": "https://files.pythonhosted.org/packages/f8/11/9ab4c1d0f522a256c024e02a6da7d549e682d607fff58b8f07ef72d63a5c/pyinvoke-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "573e00c96d76e9dc299c954b1a24977b", "sha256": "009e2a9bc5f0e014b09fd6e890adb6769eacbc88e61b87460ae2d4d58d75ea09" }, "downloads": -1, "filename": "pyinvoke-1.0.2.tar.gz", "has_sig": false, "md5_digest": "573e00c96d76e9dc299c954b1a24977b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2528, "upload_time": "2018-07-10T21:31:23", "url": "https://files.pythonhosted.org/packages/4c/d3/89a1e1c22c2242aa5e05b833a5a860ceeaedacf7d6df20003c96c18d6d5e/pyinvoke-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "96f122e16e8238d2366790474522aa49", "sha256": "f6b6cc36543309920fedaf802238214baec5452d31d4a3436c38c13031508df1" }, "downloads": -1, "filename": "pyinvoke-1.0.3.tar.gz", "has_sig": false, "md5_digest": "96f122e16e8238d2366790474522aa49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2646, "upload_time": "2018-09-20T21:27:54", "url": "https://files.pythonhosted.org/packages/39/a0/9798556856697aee6c051ea3262c81235704eb31b20f0330075946a12353/pyinvoke-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4caa5169d5bd45dfee0d8f64d32d678e", "sha256": "0b96de9e8ed5b6d681bc761ed6758087998b1a84f84b09811f7d5401d64dea7e" }, "downloads": -1, "filename": "pyinvoke-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4caa5169d5bd45dfee0d8f64d32d678e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2642, "upload_time": "2018-09-20T21:40:21", "url": "https://files.pythonhosted.org/packages/eb/d3/da06f4cfa461c18c4fa8f5621b9c408c3d16829b450998684f332753978a/pyinvoke-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4caa5169d5bd45dfee0d8f64d32d678e", "sha256": "0b96de9e8ed5b6d681bc761ed6758087998b1a84f84b09811f7d5401d64dea7e" }, "downloads": -1, "filename": "pyinvoke-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4caa5169d5bd45dfee0d8f64d32d678e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2642, "upload_time": "2018-09-20T21:40:21", "url": "https://files.pythonhosted.org/packages/eb/d3/da06f4cfa461c18c4fa8f5621b9c408c3d16829b450998684f332753978a/pyinvoke-1.0.4.tar.gz" } ] }