{ "info": { "author": "Panos Kittenis", "author_email": "22e889d8@opayq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Operating System :: MacOS :: MacOS X", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking", "Topic :: System :: Shells" ], "description": "ssh-python\n============\n\nBindings for libssh_ C library.\n\n.. image:: https://img.shields.io/badge/License-LGPL%20v2-blue.svg\n :target: https://pypi.python.org/pypi/ssh-python\n :alt: License\n.. image:: https://img.shields.io/pypi/v/ssh-python.svg\n :target: https://pypi.python.org/pypi/ssh-python\n :alt: Latest Version\n\nInstallation\n_____________\n\nCurrently only installation from source is provided. Binary wheels to follow.\n\nTo install from source, run the following:\n\n.. code-block:: shell\n\n pip install ssh-python\n\n\nProject is beta status.\n\n\nPrerequisites\n--------------\n\n* OpenSSL *or* gcrypt library and development headers\n* Optionally Zlib library and development headers for compression\n\n``Libssh`` source code is embedded in this project and will be built when installation is triggered per above instructions. Versions of ``libssh`` other than the one embedded in this project are not supported.\n\n\nQuick Start\n_____________\n\n\n.. code-block:: python\n\n from __future__ import print_function\n\n import os\n import pwd\n\n from ssh.session import Session\n from ssh import options\n\n USERNAME = pwd.getpwuid(os.geteuid()).pw_name\n HOST = 'localhost'\n\n s = Session()\n s.options_set(options.HOST, HOST)\n s.connect()\n\n # Authenticate with agent\n s.userauth_agent(USERNAME)\n\n chan = s.channel_new()\n chan.open_session()\n chan.request_exec('echo me')\n size, data = chan.read()\n while size > 0:\n print(data.strip())\n size, data = chan.read()\n chan.close()\n\nOutput:\n\n.. code-block:: shell\n\n me\n\n\nFeatures\n_________\n\nThe library uses `Cython`_ based native code extensions as wrappers to ``libssh``.\n\n* Thread safe - GIL is released as much as possible\n* Very low overhead thin wrapper\n* Object oriented - memory freed automatically and safely as objects are garbage collected by Python\n* Use Python semantics where applicable, such as context manager and iterator support for opening and reading from channels and SFTP file handles\n* Raise errors as Python exceptions\n\n\n.. _libssh: https://www.libssh.org\n.. _Cython: https://www.cython.org\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ParallelSSH/ssh-python", "keywords": "", "license": "LGPLv2", "maintainer": "", "maintainer_email": "", "name": "ssh-python", "package_url": "https://pypi.org/project/ssh-python/", "platform": "any", "project_url": "https://pypi.org/project/ssh-python/", "project_urls": { "Homepage": "https://github.com/ParallelSSH/ssh-python" }, "release_url": "https://pypi.org/project/ssh-python/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Wrapper for libssh C library.", "version": "0.3.0" }, "last_serial": 4303154, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "52949f9465f5741b79d6add466897e1c", "sha256": "f14fea8df60cb9722095d00272547f2585321f2a1a825ae6ecffe7eeeb28e2f1" }, "downloads": -1, "filename": "ssh-python-0.0.1.tar.gz", "has_sig": false, "md5_digest": "52949f9465f5741b79d6add466897e1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32737, "upload_time": "2018-05-29T11:40:42", "url": "https://files.pythonhosted.org/packages/fe/32/f3ca565c80184cef572d2bad895c3a2f5b5d9370f12daa646df8cbacef3c/ssh-python-0.0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "307f4cd37215d80cbed52add5c2e97d1", "sha256": "59010c5b06428c4ad0dba250b4f69ac4a9103423869e419d6afe20843192e1aa" }, "downloads": -1, "filename": "ssh-python-0.2.0.tar.gz", "has_sig": false, "md5_digest": "307f4cd37215d80cbed52add5c2e97d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1142074, "upload_time": "2018-06-28T11:00:25", "url": "https://files.pythonhosted.org/packages/c9/d7/c03e43f63b3c7b6425156d21aface328ce8199145ff49056375b13616ea2/ssh-python-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2d1d147e9c938a38682553253df61b2c", "sha256": "be5c5ab389246898e819803851879ca6add0c838c722848426abe31e21377984" }, "downloads": -1, "filename": "ssh-python-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2d1d147e9c938a38682553253df61b2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1142094, "upload_time": "2018-06-28T14:36:30", "url": "https://files.pythonhosted.org/packages/ec/a9/0b3b8e75b47821939b20842bdaac11500eea400d6985f53346dd7cb3b5b1/ssh-python-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0585b66431092eaeb30eae865fecab66", "sha256": "3e602688f50c574229b0c80944144b58d2b6782bbe1aea4af25f09ed8554635b" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp27-cp27m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0585b66431092eaeb30eae865fecab66", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305177, "upload_time": "2018-09-23T22:19:41", "url": "https://files.pythonhosted.org/packages/a2/a1/060cb617e6ab6faa7e31e729078df7db617901d302efb58e7c434084b9f0/ssh_python-0.3.0-cp27-cp27m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "193c6ac0da37ecf5d7cfb964ae25b5b2", "sha256": "3f5f1e3e3ac44900785f60ccba7c71cd485fe1188f3726c4f6380d7665854744" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "193c6ac0da37ecf5d7cfb964ae25b5b2", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305173, "upload_time": "2018-09-23T22:19:44", "url": "https://files.pythonhosted.org/packages/5b/43/46e3125b3b5da3ae0ac006673d66b331d97620776565a5ee53d1759c2621/ssh_python-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4064b283454fac484b7ee26b45e0f48c", "sha256": "9c634ce7f5541a74e8a67826151d7a4c116fdfacb177532d784d1c561dd469b2" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp34-cp34m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "4064b283454fac484b7ee26b45e0f48c", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 3420686, "upload_time": "2018-09-23T22:19:46", "url": "https://files.pythonhosted.org/packages/71/54/8913d240f30121106d3a37572a43b9a14359eeda7d1708e07ff327091782/ssh_python-0.3.0-cp34-cp34m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "be1a51673fa4e604f0e6bc8c49319d85", "sha256": "ca86664ff79334403e6380a5641ebad6732e77b7ddd1ff4f5356037ebda81257" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "be1a51673fa4e604f0e6bc8c49319d85", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 3395347, "upload_time": "2018-09-23T22:19:48", "url": "https://files.pythonhosted.org/packages/da/c4/5485506901e84ea7b6c89045ce72ee8fde3025ee83fd27e3621bd8d57b13/ssh_python-0.3.0-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "30966704a03cca16ce4ee32e3512337f", "sha256": "e7736d37cb9eabce0970a16d0a23a675dc53f7b79edc95df73c0060e0d554df1" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "30966704a03cca16ce4ee32e3512337f", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 3423422, "upload_time": "2018-09-23T22:19:50", "url": "https://files.pythonhosted.org/packages/ed/49/d081efaa6c325ba9462036ebab32817005000c4cd4878e50a1b146fc98d9/ssh_python-0.3.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d96cffc58c7faac929420509e3b22d46", "sha256": "9e6ced3e830d3f8e77cf6c44ee372b147a95b54351ac1d311734ad74d91487dc" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "d96cffc58c7faac929420509e3b22d46", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 3427851, "upload_time": "2018-09-23T22:19:53", "url": "https://files.pythonhosted.org/packages/92/61/43f9638e5100216b12a9054285a07646c29c165e212cba4a9ed7738a4bf4/ssh_python-0.3.0-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "3bceefbea0a8a051c5d3d902c364dc15", "sha256": "3b8b8227e27706d277a720a4b5adad1049d12053577f3db2fb1d6bb007d9329e" }, "downloads": -1, "filename": "ssh-python-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3bceefbea0a8a051c5d3d902c364dc15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1188335, "upload_time": "2018-09-23T22:20:07", "url": "https://files.pythonhosted.org/packages/8e/b3/77a9a67204c87de201f1371a22621c305df16df83b287baf1e3d15de0066/ssh-python-0.3.0.tar.gz" } ], "0.3.0rc1": [ { "comment_text": "", "digests": { "md5": "787e7017fb5f49285685c72dfda74edc", "sha256": "677050b07321c3a5330cdbecb55cb7e6a64917976e528e69a5c12321a218c0dd" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp27-cp27m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "787e7017fb5f49285685c72dfda74edc", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305272, "upload_time": "2018-09-23T22:07:57", "url": "https://files.pythonhosted.org/packages/de/42/db45d0039179cff6f42d399d7718e5bf902780b00bca0310689a8e67dd98/ssh_python-0.3.0rc1-cp27-cp27m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "a27e08374647278c7fe8ac97489e16c9", "sha256": "33bcbacac05eb7e2ef9e0cbf261a0ce4f70b19c38b72688e701a9818daaf195d" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "a27e08374647278c7fe8ac97489e16c9", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305200, "upload_time": "2018-09-23T22:08:00", "url": "https://files.pythonhosted.org/packages/64/19/422502d66e36d2db658b86d18a53f94021b3e84645b1140a72a5fc762364/ssh_python-0.3.0rc1-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "168998d1b4f4f3c126e5f984d8d142dc", "sha256": "349d76d092d93cf65e1a20a5d9a751b6568f49ad93f9342efb1f4abba4536d04" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp34-cp34m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "168998d1b4f4f3c126e5f984d8d142dc", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 3420699, "upload_time": "2018-09-23T22:08:02", "url": "https://files.pythonhosted.org/packages/c4/81/ef2bce2ec4b46fe732ee78fc70258fd3857d9c11d7cf099dd3a98d790b5c/ssh_python-0.3.0rc1-cp34-cp34m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "bc5e12619413661ac13f351dd786262f", "sha256": "dd0f6a1726b550e4f8a73d9639185badbcd49be6f41ba0b5d7687d3dc9afe36b" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "bc5e12619413661ac13f351dd786262f", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 3395424, "upload_time": "2018-09-23T22:08:04", "url": "https://files.pythonhosted.org/packages/4e/75/485860f1bbbcf00585322f9466c67b3bd9e6727c3c43b7e9c0a01a839f9c/ssh_python-0.3.0rc1-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "2cb76a8d07538dac112112adf445113c", "sha256": "fe9b5524642b5f0ba21bc3d17ddb8600c4543bd7021b68af5c7d366416f16350" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "2cb76a8d07538dac112112adf445113c", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 3423476, "upload_time": "2018-09-23T22:08:07", "url": "https://files.pythonhosted.org/packages/bf/bd/7b6bcd4d5b0368c5a9a770ffecd25a1139482cb32411252430d11d627bc3/ssh_python-0.3.0rc1-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "2bdf473c5a342aea77961acded4f05c0", "sha256": "2c14e1181279a81280859e75f47815b5044bed71f489abbcde0fed4d9beca687" }, "downloads": -1, "filename": "ssh_python-0.3.0rc1-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "2bdf473c5a342aea77961acded4f05c0", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 3427879, "upload_time": "2018-09-23T22:08:09", "url": "https://files.pythonhosted.org/packages/5a/db/9f40ce32a40de1f9a0749a58182c7fd6b0e150624f4880cbb9c39211c979/ssh_python-0.3.0rc1-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d8455277f660b876673db304bd9664bf", "sha256": "1e0e5ba1a11469c3bd05bb240adf96081b2626c53f2af9e28c1467c658bc80eb" }, "downloads": -1, "filename": "ssh-python-0.3.0rc1.tar.gz", "has_sig": false, "md5_digest": "d8455277f660b876673db304bd9664bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1188388, "upload_time": "2018-09-23T21:46:39", "url": "https://files.pythonhosted.org/packages/cd/ec/7b7571e55b3191c00b6e247abf1812d9a6293f71b71f84859a58890e1ecc/ssh-python-0.3.0rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0585b66431092eaeb30eae865fecab66", "sha256": "3e602688f50c574229b0c80944144b58d2b6782bbe1aea4af25f09ed8554635b" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp27-cp27m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0585b66431092eaeb30eae865fecab66", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305177, "upload_time": "2018-09-23T22:19:41", "url": "https://files.pythonhosted.org/packages/a2/a1/060cb617e6ab6faa7e31e729078df7db617901d302efb58e7c434084b9f0/ssh_python-0.3.0-cp27-cp27m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "193c6ac0da37ecf5d7cfb964ae25b5b2", "sha256": "3f5f1e3e3ac44900785f60ccba7c71cd485fe1188f3726c4f6380d7665854744" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "193c6ac0da37ecf5d7cfb964ae25b5b2", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 3305173, "upload_time": "2018-09-23T22:19:44", "url": "https://files.pythonhosted.org/packages/5b/43/46e3125b3b5da3ae0ac006673d66b331d97620776565a5ee53d1759c2621/ssh_python-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4064b283454fac484b7ee26b45e0f48c", "sha256": "9c634ce7f5541a74e8a67826151d7a4c116fdfacb177532d784d1c561dd469b2" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp34-cp34m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "4064b283454fac484b7ee26b45e0f48c", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 3420686, "upload_time": "2018-09-23T22:19:46", "url": "https://files.pythonhosted.org/packages/71/54/8913d240f30121106d3a37572a43b9a14359eeda7d1708e07ff327091782/ssh_python-0.3.0-cp34-cp34m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "be1a51673fa4e604f0e6bc8c49319d85", "sha256": "ca86664ff79334403e6380a5641ebad6732e77b7ddd1ff4f5356037ebda81257" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "be1a51673fa4e604f0e6bc8c49319d85", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 3395347, "upload_time": "2018-09-23T22:19:48", "url": "https://files.pythonhosted.org/packages/da/c4/5485506901e84ea7b6c89045ce72ee8fde3025ee83fd27e3621bd8d57b13/ssh_python-0.3.0-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "30966704a03cca16ce4ee32e3512337f", "sha256": "e7736d37cb9eabce0970a16d0a23a675dc53f7b79edc95df73c0060e0d554df1" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "30966704a03cca16ce4ee32e3512337f", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 3423422, "upload_time": "2018-09-23T22:19:50", "url": "https://files.pythonhosted.org/packages/ed/49/d081efaa6c325ba9462036ebab32817005000c4cd4878e50a1b146fc98d9/ssh_python-0.3.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d96cffc58c7faac929420509e3b22d46", "sha256": "9e6ced3e830d3f8e77cf6c44ee372b147a95b54351ac1d311734ad74d91487dc" }, "downloads": -1, "filename": "ssh_python-0.3.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "d96cffc58c7faac929420509e3b22d46", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 3427851, "upload_time": "2018-09-23T22:19:53", "url": "https://files.pythonhosted.org/packages/92/61/43f9638e5100216b12a9054285a07646c29c165e212cba4a9ed7738a4bf4/ssh_python-0.3.0-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "3bceefbea0a8a051c5d3d902c364dc15", "sha256": "3b8b8227e27706d277a720a4b5adad1049d12053577f3db2fb1d6bb007d9329e" }, "downloads": -1, "filename": "ssh-python-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3bceefbea0a8a051c5d3d902c364dc15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1188335, "upload_time": "2018-09-23T22:20:07", "url": "https://files.pythonhosted.org/packages/8e/b3/77a9a67204c87de201f1371a22621c305df16df83b287baf1e3d15de0066/ssh-python-0.3.0.tar.gz" } ] }