{ "info": { "author": "Maverick Chan", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "Shelldon\n========\n\n###Python-wrapper of Bash (whut)\n\n\nTable of Content\n----------------\n- [Introduction](#intro)\n- [Installation](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Support](#support)\n\nIntroduction\n--------------------------------\nWhuttttt. A Python-wrapper for Bash? You know how you want to sometimes make some shell commands from Python? And then you go for:\n\n```python\nimport subprocess\n \n# Normally you do this from a Python script\nsubprocess.call(['git', 'add', '--all']\n```\n\nI find that way, way too much to type. Also, why put it into a form of a list?\n\nWhy can't we just write `subprocess.call('git add --all')`?\n\nInstallation\n----------------------------------\nJust install the Raw shelldon.py. Then, add it to your Python Path, like this:\n```shell\nexport PYTHONPATH=$PYTHONPATH:/~/path/to/the/shelldon.py\n```\n\nTest it by opening your Python shell.\n\n```\n>>> import shelldon\n>>> # It works!\n```\n\nUsage\n-------------------------\n**Normal script use:**\n```python\nimport shelldon\n\nshelldon.call('git add --all') # So simple isn't it?!\n```\n\n**Or, if you want to have multiple commands bundled together:**\n```python\nshelldon.call(\"\"\"\n git add --all\n git commit -m 'Initial commit'\n git push origin master\n \"\"\")\n```\n\n**Terminal use:**\n```python\n>> import shelldon\n>> shelldon.terminal()\n~$ >> ls\nDesktop Programs\nDocuments Public\nDownloads\nMusic\nPictures\n~$ >> cd Desktop\n~/Desktop$ >> quit # Use this command to quit shelldon's terminal\n>> print 'yay to using shell in Python!' # Back to Python interpreter\n```\n\nLicense\n-----------------------------\nThe following code is released under the MIT license. See above for it.\n\nSupport\n-----------------------------\nIf you have any questions/concerns, please feel free to contact me.\nMy email address is guanhao3797@gmail.com\n\n**Will update README once project is more substantial.**", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "shelldon", "package_url": "https://pypi.org/project/shelldon/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/shelldon/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/shelldon/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.0.1" }, "last_serial": 1175133, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "63d181fda10227d85924e1ea31bea9be", "sha256": "9ba3bc6e2d114cca9fcbe99b649c5d0d3d17cf7b862e782d0edcd0027b5b3330" }, "downloads": -1, "filename": "shelldon-0.0.1.win32.exe", "has_sig": false, "md5_digest": "63d181fda10227d85924e1ea31bea9be", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 200648, "upload_time": "2014-07-31T05:17:39", "url": "https://files.pythonhosted.org/packages/8e/e7/3b7fc6ea8c15e49874a9cd0111a31ac7317823186ce875b9b410807abc50/shelldon-0.0.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "e7b64d27d506b6c259218ce3c84e9fe9", "sha256": "f4fb979878a7182e270659573c0477627d3af6c35e7a0ce9ea5f707381833cbe" }, "downloads": -1, "filename": "shelldon-0.0.1.zip", "has_sig": false, "md5_digest": "e7b64d27d506b6c259218ce3c84e9fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2452, "upload_time": "2014-07-31T05:17:33", "url": "https://files.pythonhosted.org/packages/95/49/4c1b0cec6b9ca9cf6c144cbf32e20b7c6e4cde5f19e27a2a7209bb60e601/shelldon-0.0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "63d181fda10227d85924e1ea31bea9be", "sha256": "9ba3bc6e2d114cca9fcbe99b649c5d0d3d17cf7b862e782d0edcd0027b5b3330" }, "downloads": -1, "filename": "shelldon-0.0.1.win32.exe", "has_sig": false, "md5_digest": "63d181fda10227d85924e1ea31bea9be", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 200648, "upload_time": "2014-07-31T05:17:39", "url": "https://files.pythonhosted.org/packages/8e/e7/3b7fc6ea8c15e49874a9cd0111a31ac7317823186ce875b9b410807abc50/shelldon-0.0.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "e7b64d27d506b6c259218ce3c84e9fe9", "sha256": "f4fb979878a7182e270659573c0477627d3af6c35e7a0ce9ea5f707381833cbe" }, "downloads": -1, "filename": "shelldon-0.0.1.zip", "has_sig": false, "md5_digest": "e7b64d27d506b6c259218ce3c84e9fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2452, "upload_time": "2014-07-31T05:17:33", "url": "https://files.pythonhosted.org/packages/95/49/4c1b0cec6b9ca9cf6c144cbf32e20b7c6e4cde5f19e27a2a7209bb60e601/shelldon-0.0.1.zip" } ] }