{ "info": { "author": "Morgotth", "author_email": "morgotth0@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: Freeware", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3" ], "description": "Shfd : Sh for dummies\n=====================\n\nMy custom wrapper for subprocess inspired by `Envoy `_.\n\nFeatures :\n\n* full unicode support\n* pipe with python operator |\n* multi platform\n* Method chaining available\n\nPython versions supported :\n\n* 2.6\n* 2.7\n* 3.1\n* 3.2\n* 3.3\n\nUsage\n-----\n\nRun a command ::\n\n\t>>> cmd = shfd.run('echo \"hello world\"')\n\t>>> cmd.retcode\n\t0\n\t>>> cmd.out\n\tu'hello world\\n'\n\t>>> cmd.err\n\tu''\n\nExample with pipe and chaining ::\n\n\t>>> cmd = (shfd.cmd('git log') | 'head -n 30').run()\n\t>>> cmd.command\n\tu'git log | head -n 30'\n\t>>> cmd.out\n\tu'...'\n\nTests\n-----\n\nTest one version ::\n\tpython test_shfd.py\n\nTest all available versions ::\n\tpython test_multi_shfd.py", "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/morgotth/shfd", "keywords": null, "license": "Beerware", "maintainer": null, "maintainer_email": null, "name": "shfd", "package_url": "https://pypi.org/project/shfd/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/shfd/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/morgotth/shfd" }, "release_url": "https://pypi.org/project/shfd/0.1/", "requires_dist": null, "requires_python": null, "summary": "Sh for dummies", "version": "0.1" }, "last_serial": 799493, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7d68b9dccc28eb556ccd74b2202cdc4f", "sha256": "39ff7aadd473b108f5da138c8ada7f1b0825e6f934e251988a7a123c54d391e9" }, "downloads": -1, "filename": "shfd-0.1.tar.gz", "has_sig": false, "md5_digest": "7d68b9dccc28eb556ccd74b2202cdc4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4382, "upload_time": "2013-05-18T16:09:36", "url": "https://files.pythonhosted.org/packages/6d/d4/d4e5e83b5d47686e05b933f8b2a8ff0b4eeb0414fca94faceef340977a32/shfd-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d68b9dccc28eb556ccd74b2202cdc4f", "sha256": "39ff7aadd473b108f5da138c8ada7f1b0825e6f934e251988a7a123c54d391e9" }, "downloads": -1, "filename": "shfd-0.1.tar.gz", "has_sig": false, "md5_digest": "7d68b9dccc28eb556ccd74b2202cdc4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4382, "upload_time": "2013-05-18T16:09:36", "url": "https://files.pythonhosted.org/packages/6d/d4/d4e5e83b5d47686e05b933f8b2a8ff0b4eeb0414fca94faceef340977a32/shfd-0.1.tar.gz" } ] }