{ "info": { "author": "qiueer", "author_email": "qiujqin@163.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: POSIX", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "cmds for python\r\n===============\r\n\r\nA library that enables easy running and concatenation of bash commands in\r\npython\r\n\r\nInstallation\r\n------------\r\n\r\nInstall using pip::\r\n\r\n pip install cmds\r\n \r\nInstall using source code::\r\n\r\n\tgit clone https://github.com/qiueer/cmds\r\n\tcd cmds\r\n\tpython setup.py install\r\n\r\n\r\nUsage\r\n-----\r\n\r\nRun commands as you would in bash::\r\n\r\n >>> from cmds import cmds\r\n >>> cmds('ls . | grep \".pyc\"')\r\n cmds.pyc\r\n\r\nChain commands for the same effect::\r\n\r\n >>> cmds('ls . ').cmds('grep \".pyc\"')\r\n cmds.pyc\r\n\r\nWarning\r\n-------\r\n\r\nPlease note that this library uses ``shell=True`` under the hood. This means\r\nthat this library is **NOT** suitable for running untrusted commands.\r\n`(See explanation) `_\r\n\r\nSupport + Contributing\r\n----------------------\r\n\r\nFeel free to make pull requests, or report issues via the repo:\r\n\r\nhttps://github.com/qiueer/cmds", "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/qiueer/cmds", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "cmds", "package_url": "https://pypi.org/project/cmds/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cmds/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/qiueer/cmds" }, "release_url": "https://pypi.org/project/cmds/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "cmds for Python", "version": "0.1.1" }, "last_serial": 2001511, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d111fd59d29643b6ade03401b3f17e6b", "sha256": "fc1414469d165877d6ca414ec6d3a8264c7433659e13dac4012b09b71e56eeb2" }, "downloads": -1, "filename": "cmds-0.1-py2.7.egg", "has_sig": false, "md5_digest": "d111fd59d29643b6ade03401b3f17e6b", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 3636, "upload_time": "2016-03-11T15:06:20", "url": "https://files.pythonhosted.org/packages/be/11/45a65a67c2a1b777bc420fdb55895a95382adb979a7b4306b49f6d2d09fe/cmds-0.1-py2.7.egg" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fe2afdecff8c9d831fa505d5889822c6", "sha256": "31659c9bf5ddd49207c1f52e8756e667c26565417cb483461ded23729c49cf07" }, "downloads": -1, "filename": "cmds-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fe2afdecff8c9d831fa505d5889822c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2865, "upload_time": "2016-03-11T16:02:52", "url": "https://files.pythonhosted.org/packages/80/2a/3fe0559f2366bd86a633de373ca67a58547a7adbc06f0708be4ebb3409a9/cmds-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fe2afdecff8c9d831fa505d5889822c6", "sha256": "31659c9bf5ddd49207c1f52e8756e667c26565417cb483461ded23729c49cf07" }, "downloads": -1, "filename": "cmds-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fe2afdecff8c9d831fa505d5889822c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2865, "upload_time": "2016-03-11T16:02:52", "url": "https://files.pythonhosted.org/packages/80/2a/3fe0559f2366bd86a633de373ca67a58547a7adbc06f0708be4ebb3409a9/cmds-0.1.1.tar.gz" } ] }