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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ssh_python-1.0.0rc1-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

ssh_python-1.0.0rc1-cp310-cp310-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

ssh_python-1.0.0rc1-cp310-cp310-macosx_12_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

ssh_python-1.0.0rc1-cp39-cp39-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

ssh_python-1.0.0rc1-cp39-cp39-macosx_11_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

ssh_python-1.0.0rc1-cp38-cp38-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

ssh_python-1.0.0rc1-cp37-cp37m-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

ssh_python-1.0.0rc1-cp36-cp36m-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file ssh_python-1.0.0rc1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c121c5db9f2372500b750d877e9136992f513b80ef080270bbb9423d3379b77
MD5 ba247cabc378e15759b11eb18e6cc107
BLAKE2b-256 ddb04b2d3830761748da36bc363a0edb703ada98b5c56015fb2d920085ec6186

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 de30a6e5c5dddd23efd5c217a2db287b261b776338bb4aa3db1f48cb77456ac5
MD5 e2133fee77bc4efcd63364873ebd8ee2
BLAKE2b-256 cd4c8bbd45e0c4c380681971f63e62ea41207c93f76a29b3ef6894eca6d41f52

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 fa61c3019ccfc41aec8aa9c8b31b8c92712c438b8d72c2e7a8d08bc2adf8c183
MD5 e47ea0dcf3fc98d9b836a7bb16820d55
BLAKE2b-256 ab71da0b6527807060637898fc6c9fd9d6f127351da1f522c26783f93731ecb4

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 087b7be03f3ac4bd3686969774dbed07a3ac231041609c09ee5dabf034d9f867
MD5 c5340af174d1f1ef0bc5b4b2fa522170
BLAKE2b-256 8214af63ee4aa522c7862aaccfa61e3f2e0dac916eb16fb67e1a7a591a00788c

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5c4289632bc9b6d246fb49c05080b2056424fb6f364073d85961f028e90f0546
MD5 a67014b052b0582736005ab41ccd06e2
BLAKE2b-256 e6acb20189761961abde341753600509e5d5003819c005b2f91cf6d74af02da3

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f02a366e52bd7b4d5cfaf4a4003409ef4f27988cc23cdac1dae3f9bdddc1d44a
MD5 c48a26c795494f1d33bb1e53a40e468b
BLAKE2b-256 6759a684aeb4a4aedab9c007cf550e9af9551a7ae121e8ee17b2d2350a5db3af

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1731101ec857240b63bdc4a8744fccd331bad788c5915c4c219f3f35a2a4bb7a
MD5 6663b87d1598df180eb939a56ea2dda9
BLAKE2b-256 6364ca704a7996ca43a6ed2b8191d02da6acc14c6432407765466fb164cd6855

See more details on using hashes here.

File details

Details for the file ssh_python-1.0.0rc1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for ssh_python-1.0.0rc1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 282827fa315290c83cdc57143b4c21c140042dfcb963f615c841d2d38e518279
MD5 ff3680d11c6058b1562431e5fd4f268d
BLAKE2b-256 ba35f1a4f752b48e25d7cd2e7c35c473233fe938679d65f529811c38e20a433e

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