{ "info": { "author": "Colin Wood", "author_email": "cwood06@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: POSIX", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: System :: Networking", "Topic :: System :: Systems Administration" ], "description": "sshed\n===================\n\nsshed is a minimal paramiko/ssh2 wrapper that makes working with ssh through\npython just like working with it in normal SSH. It will use your configuration\nthat you have already created first then any extra options can be passed in\nthrough the library that is using it. Servers are base objects that can be\nextended to do other tasks. Also the API is dead simple.\n\n\nDocumentation / Repo Information:\n---------------------------------\n* Documentation: http://sshed.readthedocs.org/en/latest/index.html\n* Repo: https://github.com/cwood/sshed\n\n\nExamples\n-------------------\nCreating a server from your ~/.ssh/config with ssh keys created. This also\nuses a host alias\n\n.. code-block:: python\n\n from sshed import servers\n server = servers.from_conf('development')\n server.run('whoami').output\n >> ['cwood']\n server.run('sudo whoami').output\n >> ['root']\n server.run('cd /var/www').returncode\n >> 0\n server.run('pwd').output\n >> ['/var/www']\n\nCreating a server from just a hostname\n\n.. code-block:: python\n\n from sshed import servers\n server = servers.from_conf('myserver.com')\n server.run('hostname').output\n >> ['myserver.com']\n\nUploading/Downloading from/to a server\n\n.. code-block:: python\n\n from sshed import servers\n server = servers.from_conf('development')\n server.upload('/tmp/mytar.tar', '/var/tmp/mytar.tar')\n server.download('/var/logs/httpd/error_log', '/tmp/remote/error_log')\n\n\nCreating a new server without a ssh config\n\n.. code-block:: python\n\n from sshed.servers import Server\n server = Server(username='username', hostname='development.mycompany.com',\n password='supersecretpassword')\n\n server.run( ... )\n\nWorking with argparse. This sshed module also has a helper for working\nwith argparse. You can import an action so that when a user puts in a\n``--server server.mycompany.com`` it will create a new server instance\nfor that server.\n\n.. code-block:: python\n\n from sshed.argparse_actions import ServerAction\n\n # some other argparse information\n parser.add_argument('-s', '--server', action=ServerAction, dest='server')", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/cwood/sshed/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://cwood.github.com/sshed/", "keywords": "ssh,automation,remote,ssh2,OpenSSH", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "sshed", "package_url": "https://pypi.org/project/sshed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sshed/", "project_urls": { "Download": "http://github.com/cwood/sshed/tarball/master", "Homepage": "http://cwood.github.com/sshed/" }, "release_url": "https://pypi.org/project/sshed/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Minimal Parmaiko/ssh2 wrapper to make working with SSH easy.", "version": "0.3.2" }, "last_serial": 1474243, "releases": { "0.1.0rc": [ { "comment_text": "", "digests": { "md5": "ebe2a9c148ef5f6dedfc9fcbf8375485", "sha256": "87faa8fdce944ffda87db0a360406a4b9c633d75878eb6b30f67902670d1c9d2" }, "downloads": -1, "filename": "sshed-0.1.0rc.tar.gz", "has_sig": false, "md5_digest": "ebe2a9c148ef5f6dedfc9fcbf8375485", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3031, "upload_time": "2012-09-16T02:58:15", "url": "https://files.pythonhosted.org/packages/91/28/06b890e1f55d46675107af45202973a57f1eae7614667c9be48e662edf77/sshed-0.1.0rc.tar.gz" } ], "0.1.1rc": [ { "comment_text": "", "digests": { "md5": "cb32ba88e2cb1b4ae62f7f70907a0967", "sha256": "34dcecc54bf540667a49e075f7772960442034c80d501848412f25bf1229dcd1" }, "downloads": -1, "filename": "sshed-0.1.1rc.tar.gz", "has_sig": false, "md5_digest": "cb32ba88e2cb1b4ae62f7f70907a0967", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3106, "upload_time": "2012-09-16T17:24:06", "url": "https://files.pythonhosted.org/packages/07/59/94890590783b9b75d2ce32f4d7788ae58612cc416fb89a314c0b22e6f624/sshed-0.1.1rc.tar.gz" } ], "0.1.2rc": [ { "comment_text": "", "digests": { "md5": "c203b470edecf698c5586fa18052dbc1", "sha256": "6fccf062f9df52523abdf1c97b95cad589896232d336f9ddf7025781e0be9f90" }, "downloads": -1, "filename": "sshed-0.1.2rc.tar.gz", "has_sig": false, "md5_digest": "c203b470edecf698c5586fa18052dbc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3243, "upload_time": "2012-09-17T03:20:16", "url": "https://files.pythonhosted.org/packages/98/c8/64ab16babfd49878760d28df9b5c833e0dbd82c134c0eaf56b0adc266f43/sshed-0.1.2rc.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "31b9366d45856fb92630a6833eacd44e", "sha256": "34df2bd1c27d65fb6104f1b8d8aa9482dafc86211093cee82b09882f8c71f4d3" }, "downloads": -1, "filename": "sshed-0.2.0.tar.gz", "has_sig": false, "md5_digest": "31b9366d45856fb92630a6833eacd44e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3352, "upload_time": "2012-09-18T01:55:40", "url": "https://files.pythonhosted.org/packages/ce/4b/6a667308e9392ee8be027b4265c0bd4062a0ed6435589976a724b0b8f10f/sshed-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e50cab43023715aeb3b6ae5b10fad075", "sha256": "5d15253e3a861a0dca2f49cbdd5dfada3e7c225ef9c53334f628540cfa30f919" }, "downloads": -1, "filename": "sshed-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e50cab43023715aeb3b6ae5b10fad075", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3875, "upload_time": "2012-09-18T19:17:13", "url": "https://files.pythonhosted.org/packages/85/bc/4d0917a6b3c56a53a06f58a81134ac401687fe7113745b70c77006800e86/sshed-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "3453477fcd04ee6032a94b9ef4aa731f", "sha256": "7fcac8e85e39728e173383ec4d16dc63338d1cd200c60ffe4e289e2777827b5f" }, "downloads": -1, "filename": "sshed-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3453477fcd04ee6032a94b9ef4aa731f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3976, "upload_time": "2012-09-20T03:28:16", "url": "https://files.pythonhosted.org/packages/c8/da/c4dd6c0c4b513a758c49d50d00867cacc5aa6867617fd53178039313da63/sshed-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "c6b778e416d044bdf049e4dad58c5a2b", "sha256": "75906abcdb1fd3bdc49f9cae0b32b2c593abdb17fa9560e222c73f3b0e3557f4" }, "downloads": -1, "filename": "sshed-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c6b778e416d044bdf049e4dad58c5a2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2173, "upload_time": "2012-09-24T03:27:42", "url": "https://files.pythonhosted.org/packages/bb/dc/12a1d91579604849abae5499b5f400b0b394aa107d81a080e06a3eeb9121/sshed-0.2.3.tar.gz" } ], "0.2.3.1": [ { "comment_text": "", "digests": { "md5": "2ada24f7ab27d0317c92c4a1289cc74d", "sha256": "6a361510ed0eaad10d2aa22e7551bdf682c6c22231f3342ea765ae07050ca3bf" }, "downloads": -1, "filename": "sshed-0.2.3.1.tar.gz", "has_sig": false, "md5_digest": "2ada24f7ab27d0317c92c4a1289cc74d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2804, "upload_time": "2012-09-24T03:39:18", "url": "https://files.pythonhosted.org/packages/d8/41/e931eee10ffe9b8414e5694afaa9a893b9a8fc490a1fe11235e0c744e9a6/sshed-0.2.3.1.tar.gz" } ], "0.2.3.2": [ { "comment_text": "", "digests": { "md5": "f6622192e4366f600a46ff410da64aff", "sha256": "82ce778206f760b4d449e9471e5bce7914bcd0325b50c521023e3966034c6861" }, "downloads": -1, "filename": "sshed-0.2.3.2.tar.gz", "has_sig": false, "md5_digest": "f6622192e4366f600a46ff410da64aff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2012-09-24T03:51:48", "url": "https://files.pythonhosted.org/packages/a4/71/14fb0f8296395515a6294cd1964f693757257291e8bd76c2243644e801d5/sshed-0.2.3.2.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "e7154272fff8b63c48446916e4c750f6", "sha256": "ba72cd0ba12f62659141ffeb63548249e789ea1350328fe38f1fed6d588a3220" }, "downloads": -1, "filename": "sshed-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e7154272fff8b63c48446916e4c750f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5340, "upload_time": "2012-10-11T13:48:48", "url": "https://files.pythonhosted.org/packages/ec/1c/38a08210af8867a73f3020d99e14d2f4b9e60cb72e38935717238b7bf7e8/sshed-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "5959505cb621c0ed4244d093c20f01ef", "sha256": "7a47bbc4c76014ed075c1dc63613e3e246ff99b907641b23cebf2b73a0442179" }, "downloads": -1, "filename": "sshed-0.2.5.tar.gz", "has_sig": false, "md5_digest": "5959505cb621c0ed4244d093c20f01ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5547, "upload_time": "2013-03-04T19:18:39", "url": "https://files.pythonhosted.org/packages/8d/01/813edf8d5cb092594ab54f3aca6a032dae965228957706c954ba0c9eb128/sshed-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "af0eb7d18b4f07daadf20deb0e7b8aa2", "sha256": "6fb64ed1426b27f0f31f7181ea80420c8e373ca957cc2d82b7ca4ddfccc395bf" }, "downloads": -1, "filename": "sshed-0.2.6.tar.gz", "has_sig": false, "md5_digest": "af0eb7d18b4f07daadf20deb0e7b8aa2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5185, "upload_time": "2014-06-04T19:25:08", "url": "https://files.pythonhosted.org/packages/03/bf/8bc00fe312ee36fdbd1524efad77d59c794f21c830b3d1d4c43e499101fa/sshed-0.2.6.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b98c7717fafcf8cc7940413aae715d8e", "sha256": "4c8f09798600c3fd8ff878be2d1f5c8807eb6190edcad52a38ebc86d98091a86" }, "downloads": -1, "filename": "sshed-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b98c7717fafcf8cc7940413aae715d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5228, "upload_time": "2015-03-19T18:21:07", "url": "https://files.pythonhosted.org/packages/ac/b8/eaf66924e75ad328cbc96d872300f0da915efb4505cb9adc1c3f27355211/sshed-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "077df261e7263f103c2d5daeb9e91399", "sha256": "6a239dcb876da777433fcc187befc0582dddbd417904899f4b0c0a7e537b6dd3" }, "downloads": -1, "filename": "sshed-0.3.1.tar.gz", "has_sig": false, "md5_digest": "077df261e7263f103c2d5daeb9e91399", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5234, "upload_time": "2015-03-19T21:40:21", "url": "https://files.pythonhosted.org/packages/7a/31/9e0ff32c0f8c9cbbb79d8428943bda32c07ad1a18f510ea7f29e07efb6f1/sshed-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "6a67a3664591ba63728aee28d756e524", "sha256": "71694e5f73936ba7b6110f347dce80ccb3575e0eafe8f89a9cdc64fad874d817" }, "downloads": -1, "filename": "sshed-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6a67a3664591ba63728aee28d756e524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5264, "upload_time": "2015-03-23T21:06:56", "url": "https://files.pythonhosted.org/packages/5b/aa/edbeabee66c734d74d22697d02513d225ab8499cca9066266c32cce05ea7/sshed-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a67a3664591ba63728aee28d756e524", "sha256": "71694e5f73936ba7b6110f347dce80ccb3575e0eafe8f89a9cdc64fad874d817" }, "downloads": -1, "filename": "sshed-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6a67a3664591ba63728aee28d756e524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5264, "upload_time": "2015-03-23T21:06:56", "url": "https://files.pythonhosted.org/packages/5b/aa/edbeabee66c734d74d22697d02513d225ab8499cca9066266c32cce05ea7/sshed-0.3.2.tar.gz" } ] }