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

Download files

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

Files for ssh-python, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size ssh_python-0.9.0-cp27-cp27m-manylinux2010_x86_64.whl (6.7 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp27-cp27mu-manylinux2010_x86_64.whl (6.7 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp35-cp35m-manylinux2010_x86_64.whl (6.9 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp36-cp36m-manylinux2010_x86_64.whl (6.9 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp36-cp36m-win_amd64.whl (7.0 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp37-cp37m-macosx_10_14_x86_64.whl (2.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp37-cp37m-manylinux2010_x86_64.whl (6.9 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp37-cp37m-win_amd64.whl (7.0 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp38-cp38-macosx_10_15_x86_64.whl (2.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp38-cp38-manylinux2010_x86_64.whl (7.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp38-cp38-win_amd64.whl (7.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp39-cp39-manylinux2010_x86_64.whl (7.0 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size ssh_python-0.9.0-cp39-cp39-win_amd64.whl (7.1 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size ssh-python-0.9.0.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page