libssh C library bindings for Python.
Project description
Bindings for libssh C library.
Installation
Binary wheels are provided for Linux (manylinux 2010), OSX (10.14 and 10.15 for brew Python), and Windows 64-bit (Python 3.6/3.7/3.8).
Wheels have no dependencies.
For building from source, see documentation.
pip install ssh-python
Pip may need to be updated to be able to install binary wheels.
pip install -U pip
pip install ssh-python
Quick Start
See command execution script for complete example.
Features
The library uses Cython based native code extensions as wrappers to libssh.
Thread safe - GIL released as much as possible
libssh threading limitations apply - anything not supported in C is not supported in Python
Very low overhead thin wrapper
Object oriented
Memory freed automatically and safely as objects are garbage collected by Python
Uses Python semantics where applicable
channel/file handle context manager support
channel/file handle iterator support
Raises low level C errors as Python exceptions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ssh_python-0.9.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 140797a2849c8563c893a35b3a229939a2ed8d3cd7ac302ea4d2143ecb32a319 |
|
MD5 | be65f57a2d9ae27ebf2e5b1fcf2c5d5e |
|
BLAKE2b-256 | a1e43c3a54c50e007f138b8f0d5b5a37e72f67975add223642a21cce0ea093bc |
Hashes for ssh_python-0.9.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f77e264767da485c62e55edafda69341f460a4bee8098ef5b7179a205d783042 |
|
MD5 | d6e02f5859f2d8ac423d6260a720f952 |
|
BLAKE2b-256 | 71c6631e207595aa1cb32031f6949097a3168909e76f297f2c5e24c8782e0806 |
Hashes for ssh_python-0.9.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876e9dff1fd062ca4e1ff7ebc61de234a2652503a11d2215d1e3c5047e21f5c1 |
|
MD5 | dc5edb9f8c581171053c198602c8f4fb |
|
BLAKE2b-256 | ceac7c3967a081e5ca973c0c7b28edca9302e16284d92934fd586e6b9344cfae |
Hashes for ssh_python-0.9.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2314835c1e644b56e827ccbe826b497a83364dcb1c9ea42bbd35eb54016c7c54 |
|
MD5 | 16ae55609492515df367fe2682619f81 |
|
BLAKE2b-256 | 86a40f8a4d68ddd8ec6930eefad879cd38782e5850ca257a2df7f47124c9d1db |
Hashes for ssh_python-0.9.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312f6aacf5227debc9ac695565f4712c3669719968a775427f7a4dd544fc9f75 |
|
MD5 | a1ba1d34a8e52413664d6f21eb49d658 |
|
BLAKE2b-256 | 3eaa5838e5584ffff9558c7b72a2ebd782bd57543a66369e3b226fb32281380c |
Hashes for ssh_python-0.9.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9adedbe4077f19a3edf3ef3981138551068ec6407289e26385dfeafeb903a29 |
|
MD5 | cb6a0585b56637cdca05ebd9226e8ead |
|
BLAKE2b-256 | 9c6cf5b04c1211341e58a4a303582d54488afa22fd464386ce6e0bdb68e84211 |
Hashes for ssh_python-0.9.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b856bd3633383956b4bcd8b5f6b8e35a0ba9ebff53a631b9b285576dee4d150 |
|
MD5 | eab725bccdc72132e07fea006ddde709 |
|
BLAKE2b-256 | 610a597574a5459ed18188e8a075de510f04cc4cf3088c1117ec729cac306e92 |
Hashes for ssh_python-0.9.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbd433337b5fc75fbd9c170ef7cfcc66ea5e274745a0a01958d8dd39ea51388 |
|
MD5 | 7f2dd536aa2fcee928d964b16b8f3449 |
|
BLAKE2b-256 | 747916dd64d503fa5447985beb9160b107432bca24e13da3ea094be5e1364a42 |
Hashes for ssh_python-0.9.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d1a9c4ac2b9172aa3abf761886907804ca2a8d3d5d83789a11afe5fb2f26e9e |
|
MD5 | e9803a00ec08741ebbe4d6ea7702d05a |
|
BLAKE2b-256 | 1269dff9113c4fea865936cbe6a12af1a9723891b605d992394477cf84b4e9bc |
Hashes for ssh_python-0.9.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78ea775590d6ca7bfc8c5ac0190c925898a274eed8c622a882376c0305870793 |
|
MD5 | 188071392325eb1a101851e7a32ff4c5 |
|
BLAKE2b-256 | c6cf7905a2c9d429860b8de355fbdf8642eec91b7ecb70beec8f74a3397cf6cb |
Hashes for ssh_python-0.9.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f507badb9041492bd543e4fef8f19e095f9788d94240d300fa436a82d012eb |
|
MD5 | d1b8e8c8b1d990cf1a4979305b8e0c84 |
|
BLAKE2b-256 | f2d61f182023a2c0a2b69b7995ffe059ac2a275ef48344963e7e4227662b572c |
Hashes for ssh_python-0.9.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc81fbfb34711938be3aa06bc41787034ff28f6a7156a2a8b8a2791517c776d2 |
|
MD5 | 7ef91bb940a579a49eded84c35ca784f |
|
BLAKE2b-256 | 8d997b49f0f6c1cb8f3e9c36cd3f1b34787ad4c0161346cbd1fc1ba8d5936de2 |
Hashes for ssh_python-0.9.0-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d855ec61544512f00c382ba458c90f7b168a90d0d374a647698211da76599c44 |
|
MD5 | 7d35f9f5b716c7d730ce4cf68f2f98e3 |
|
BLAKE2b-256 | 7f31012a5c814fb8c7ac07232dd562067acef486cda87726b0a29369eb68145f |