{ "info": { "author": "Matthew Lewis", "author_email": "matt@mplewis.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: System :: Shells", "Topic :: System :: System Shells", "Topic :: Text Processing :: Markup", "Topic :: Utilities" ], "description": "shed - the sh editor\n====================\n\nDon't run ``curl | sh`` again. Use ``curl | shed`` to verify scripts\nbefore running.\n\nUsage\n=====\n\nReplace ``sh`` with ``shed`` in any pipe-sh commands you run. shed will:\n\n- save the piped script to a temp file\n- open the temp file in ``$SHED_EDITOR`` or ``$EDITOR`` to let you view\n and modify the script\n- ask you if you still want to run the script, preserving any changes\n you made\n\nInstallation\n============\n\nThis is a Python 3 script, so use ``pip3`` to install:\n\n::\n\n pip3 install shed_sh\n\n**Note the spelling:** ``shed_sh`` is different from ``shed``.\n\nAfter this, run ``shed`` or ``bashed`` from your terminal to verify it's\ninstalled properly.\n\nExamples\n========\n\nPiping to sh\n------------\n\nTake your questionable **curl**-pipe-sh or **wget**-pipe-sh command\n\n.. code:: shell\n\n curl -L https://npmjs.org/install.sh | sh\n wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh\n\nand use shed to view and edit your script before running it:\n\n.. code:: shell\n\n curl -L https://npmjs.org/install.sh | shed\n wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | shed\n\nPiping to bash\n--------------\n\nbashed protects your **bash** shell, too: take this unknown script\n\n.. code:: shell\n\n wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash\n\nand verify the contents before running:\n\n.. code:: shell\n\n wget -q -O - https://fixubuntu.com/fixubuntu.sh | bashed\n\nConfig\n======\n\nSet your preferred editor:\n\n::\n\n export SHED_EDITOR=vim\n\nshed also checks ``$EDITOR``, then falls back to ``nano``, ``vim``,\n``vi``, and ``emacs`` in order.\n\nContributions\n=============\n\nBug reports, fixes, or features? Feel free to open an issue or pull\nrequest any time. You can also tweet me at\n[@mplewis](http://twitter.com/mplewis) or email me at matt@mplewis.com.\n\nLicense\n=======\n\nCopyright (c) 2014 Matthew Lewis. Licensed under `the MIT\nLicense `__.", "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/mplewis/shed", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "shed_sh", "package_url": "https://pypi.org/project/shed_sh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/shed_sh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mplewis/shed" }, "release_url": "https://pypi.org/project/shed_sh/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Don't run \"curl | sh\" again. Use \"curl | shed\" to verify scripts before running.", "version": "1.0.0" }, "last_serial": 1368773, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4b8b5801da16089cd2c73345aadafe09", "sha256": "f062a43831f9746f8a247ed7eeb8dc7000d85a7f65827d436edea703a0feb642" }, "downloads": -1, "filename": "shed_sh-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4b8b5801da16089cd2c73345aadafe09", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5775, "upload_time": "2015-01-02T23:57:42", "url": "https://files.pythonhosted.org/packages/46/bb/9ad0dc44f8d370faf4c368ae1333c2a4b6eb98249d4adc48646a03757c0c/shed_sh-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71c6aed8d9b92f4ea78d07d8e78ec33d", "sha256": "74ab9c5de29d0393c02f806201005c06d762a1a21dfa0111f748fd447d5c954f" }, "downloads": -1, "filename": "shed_sh-1.0.0.tar.gz", "has_sig": false, "md5_digest": "71c6aed8d9b92f4ea78d07d8e78ec33d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3708, "upload_time": "2015-01-02T23:57:32", "url": "https://files.pythonhosted.org/packages/51/3d/da620089f2db44f426a85225c134cbfe244ce36eb007c56addea08b7d064/shed_sh-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b8b5801da16089cd2c73345aadafe09", "sha256": "f062a43831f9746f8a247ed7eeb8dc7000d85a7f65827d436edea703a0feb642" }, "downloads": -1, "filename": "shed_sh-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4b8b5801da16089cd2c73345aadafe09", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5775, "upload_time": "2015-01-02T23:57:42", "url": "https://files.pythonhosted.org/packages/46/bb/9ad0dc44f8d370faf4c368ae1333c2a4b6eb98249d4adc48646a03757c0c/shed_sh-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71c6aed8d9b92f4ea78d07d8e78ec33d", "sha256": "74ab9c5de29d0393c02f806201005c06d762a1a21dfa0111f748fd447d5c954f" }, "downloads": -1, "filename": "shed_sh-1.0.0.tar.gz", "has_sig": false, "md5_digest": "71c6aed8d9b92f4ea78d07d8e78ec33d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3708, "upload_time": "2015-01-02T23:57:32", "url": "https://files.pythonhosted.org/packages/51/3d/da620089f2db44f426a85225c134cbfe244ce36eb007c56addea08b7d064/shed_sh-1.0.0.tar.gz" } ] }