Skip to main content

libssh C library bindings for Python.

Project description

Bindings for libssh C library.

License Latest Version https://circleci.com/gh/ParallelSSH/ssh-python/tree/master.svg?style=shield https://img.shields.io/pypi/wheel/ssh-python.svg https://img.shields.io/pypi/pyversions/ssh-python.svg https://ci.appveyor.com/api/projects/status/2t4bmmtjvfy5s1in/branch/master?svg=true Latest documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssh-python-0.8.0.post1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

ssh_python-0.8.0.post1-cp39-cp39-manylinux2010_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp38-cp38-win_amd64.whl (9.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

ssh_python-0.8.0.post1-cp38-cp38-manylinux2010_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

ssh_python-0.8.0.post1-cp37-cp37m-win_amd64.whl (9.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

ssh_python-0.8.0.post1-cp37-cp37m-manylinux2010_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

ssh_python-0.8.0.post1-cp36-cp36m-win_amd64.whl (9.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

ssh_python-0.8.0.post1-cp36-cp36m-manylinux2010_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp35-cp35m-manylinux2010_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp27-cp27mu-manylinux2010_x86_64.whl (6.7 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

ssh_python-0.8.0.post1-cp27-cp27m-manylinux2010_x86_64.whl (6.7 MB view details)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

File details

Details for the file ssh-python-0.8.0.post1.tar.gz.

File metadata

  • Download URL: ssh-python-0.8.0.post1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh-python-0.8.0.post1.tar.gz
Algorithm Hash digest
SHA256 a1a3864a734105f7e0d5a6ee37af9c2ffc397e4d3a4bf41477c2e2fb9f7a9203
MD5 11e57edcf58a85c3df66cb3ce4d1e1bb
BLAKE2b-256 91b8e0b56ed816f532bc65df8b03c70c3d7c85af4eb4a0e65970892df2350783

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b3060210a8fd8bc78b5407b0e387310ed932903db4c85f929128b5a209a1064e
MD5 3dd6105f06fd9ae2dd187d131767e376
BLAKE2b-256 f28516baa572ff0d891cf6b0eb9c080417a50aa46ccd0c8c9f0b46c9ddd1eefa

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8

File hashes

Hashes for ssh_python-0.8.0.post1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8c4d09254abde8f9e307c03fb783b571e0c129f64df9475b42cf4ac45917c329
MD5 a72de0823c94ef254209fbbb99d4b77a
BLAKE2b-256 290c90663487703bb9d6c2e98bdb1e66de34caec1a5207a990831722ed77b019

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 025ff52867c80dc0ab33a54fa694d1e2fe53cc1edfd5be92642ed21d74eed155
MD5 0156e8b8276a2c5330d743d22d4b6db4
BLAKE2b-256 efdf1dd88e843140643b4229c6885b1d36323ead24d24820dcf3d846d7aa6582

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.4

File hashes

Hashes for ssh_python-0.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 83419a24e0133379d93b7c680440b2c44816d288ed1b575dfe58f8d8ae4df938
MD5 ad26e7e663f2616b5688e2806624b7c6
BLAKE2b-256 955f7ba22918fc112c4d65ffe7204aa915656b2fd1d16d5d7fbe5a1a69c6d76b

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8

File hashes

Hashes for ssh_python-0.8.0.post1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2065fc937988d960d048b6eb44bb0668fabef430eb65b79877c9c2708b8e94e6
MD5 4718ce5abf87f0194671d3e045e1f940
BLAKE2b-256 106dd88a04602f77f6f9f4bb104fc82c193b1145b0ca0d5f0f253db4bf4265c2

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 aeee3c0268552187df911248cc09764514e0b0791eb8aca6eefe1fbc639ee482
MD5 4aa999473ee823b3001c9d63041456db
BLAKE2b-256 d1a9932c4cd0ac9096524b4557c45d491ca78c312ffe8797ddac2eee37df6ab3

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4

File hashes

Hashes for ssh_python-0.8.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 980e773e2791bcab0dddefb294ffa7d01e9eb177f1a68e2905a1e3c9c2e4a84d
MD5 7c53117f3c0ced5ae0d5377a21db660b
BLAKE2b-256 118facb0c5f62fa12451c784d73f4e82c5b9a222885e8241f5b901f4aa08e9e3

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8

File hashes

Hashes for ssh_python-0.8.0.post1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 9bd756cae67d5d22ad784a132975c699d4bd203e2cecb879025592d005311db4
MD5 309c81e51b0aba33ee152cc5b525f5b9
BLAKE2b-256 5fa7b148d5b991ef8293f9852054d9e0ab2acc82481a1c04ba884975bae12f3a

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b5c3c51201e63ab39abf64620b7233bb7c62c56955dc0d9a621dfd36d46bea85
MD5 6b4de697094c2bef48742087ef73c469
BLAKE2b-256 422851761aeeb7de6121f84ae21025f3118b7f93305b22e52cd99aed1d32ef1d

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 46f35a5abe9147f1c996a650589a6355419d1c9caee8b18ff24c65c1b9824778
MD5 d64366262aeb8878beab105ab07fd912
BLAKE2b-256 b9efe7d428fbd9f6adbef9f9af79c3b12b95892d287038b6215f357ffc228afa

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 486d1682c8f472588e0a553f93fbd9feb9eed2e95fce9f47063add6d8efcdedb
MD5 e77ec439ba0074ccdf5089e6ca990fe1
BLAKE2b-256 516a783ff48beb2331f48a43c55a7cbc8255a9d385f914cc8747478c3b05b75a

See more details on using hashes here.

File details

Details for the file ssh_python-0.8.0.post1-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ssh_python-0.8.0.post1-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.0 requests/2.24.0 setuptools/20.10.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.12

File hashes

Hashes for ssh_python-0.8.0.post1-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2c0ce9c8c85ed3a37b2d292b73621d36a1717d2e04492d38a3b9678dbcbc827c
MD5 d85a49828b2fa7169e4057ac0373cc00
BLAKE2b-256 20710cc1d3d38a0977ed77e0e11168f4f8f11b1fa0106afff31bce18bd0cff1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page