Skip to content

Fork of ssh-python. Super fast Python SSH library. Based on libssh C library.

License

LGPL-2.1, LGPL-2.1 licenses found

Licenses found

LGPL-2.1
LICENSE
LGPL-2.1
COPYING
Notifications You must be signed in to change notification settings

Red-M/Redlibssh

Repository files navigation

redlibssh

Bindings for libssh C library.

Coverage Latest documentation Latest Version License

Installation

Binary wheels are provided for Linux (manylinux 2010), OSX (10.14 and 10.15).

Wheels have no dependencies.

For building from source, see documentation.

pip install redlibssh

Pip may need to be updated to be able to install binary wheels.

pip install -U pip
pip install redlibssh

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

About

Fork of ssh-python. Super fast Python SSH library. Based on libssh C library.

Resources

License

LGPL-2.1, LGPL-2.1 licenses found

Licenses found

LGPL-2.1
LICENSE
LGPL-2.1
COPYING

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •