{ "info": { "author": "Vasco Pinho", "author_email": "vascogpinho@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Software Development" ], "description": "runp\n====\n\n.. image:: https://travis-ci.org/vascop/runp.svg\n :target: https://travis-ci.org/vascop/runp\n\n.. image:: https://coveralls.io/repos/vascop/runp/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/vascop/runp?branch=master\n\n\nrunp exports Python functions from files to the command line. \nYou don't need to change your existing code.\n\nIf you have a file named myfile.py with::\n\n def foo():\n \"\"\"beeps a lot\"\"\"\n print \"beep beep\"\n\n def bar(text):\n \"\"\"Prints things\n\n Args:\n text (str): The text to print\n \"\"\"\n print text\n\nAnd you want to run it in the command line just do::\n\n $ runp myfile.py foo\n beep beep\n\nYou can also pass arguments to your functions::\n\n $ runp myfile.py bar:\"this is sweet!\"\n this is sweet!\n\nFunctions with names starting with _ are hidden. \n\nYou can list available functions with::\n\n $ runp myfile.py -l\n Available functions:\n foo beeps a lot\n bar Prints things\n\nAnd get info on a specific function::\n\n $ runp myfile.py -d bar\n Displaying docstring for function bar in module myfile\n\n bar(text)\n Prints things\n \n Args:\n text (str): The text to print\n\nSyntax for calling functions is::\n \n $ runp myfile.py function_name:arg1value,arg2=arg2value\n\n\nThe concept, syntax for commands and initial code are heavily inspired by fabric's task system.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vascop/runp", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "runp", "package_url": "https://pypi.org/project/runp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/runp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/vascop/runp" }, "release_url": "https://pypi.org/project/runp/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "runp exports Python functions from files to the command line", "version": "0.0.2" }, "last_serial": 1820194, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6bec9b788263b99500416c3fadf16c3c", "sha256": "e482a14dc8eb1737f03c1636f2efe2d56cab22e0ada807bc5ae5ae8e6ee5e6ce" }, "downloads": -1, "filename": "runp-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6bec9b788263b99500416c3fadf16c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3851, "upload_time": "2015-11-17T00:28:56", "url": "https://files.pythonhosted.org/packages/3d/b6/9a68820ae9309ba6da4841b2b4983c13d1b66a6a0ccb3e1ab2975a32829b/runp-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f87933d260ad43fb8d3615d5ddee1f1c", "sha256": "d799011a3ef7a07f4a6e8215d8006b27f897c0da8e3ca67d1e73472756ef9488" }, "downloads": -1, "filename": "runp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f87933d260ad43fb8d3615d5ddee1f1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3855, "upload_time": "2015-11-17T09:36:58", "url": "https://files.pythonhosted.org/packages/84/2b/9efc0f65925b56d97439a7a01be78e822a63ff90bd458aaf782ddf183318/runp-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f87933d260ad43fb8d3615d5ddee1f1c", "sha256": "d799011a3ef7a07f4a6e8215d8006b27f897c0da8e3ca67d1e73472756ef9488" }, "downloads": -1, "filename": "runp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f87933d260ad43fb8d3615d5ddee1f1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3855, "upload_time": "2015-11-17T09:36:58", "url": "https://files.pythonhosted.org/packages/84/2b/9efc0f65925b56d97439a7a01be78e822a63ff90bd458aaf782ddf183318/runp-0.0.2.tar.gz" } ] }