Skip to main content

Python bindings for libssh client specific to Ansible use case

Project description

https://img.shields.io/pypi/v/ansible-pylibssh.svg?logo=Python&logoColor=white https://img.shields.io/badge/license-LGPL+-blue.svg?maxAge=3600 https://img.shields.io/pypi/pyversions/ansible-pylibssh.svg?logo=Python&logoColor=white GitHub Workflow Status (🏗 📦 & test & publish/devel) GitHub Workflow Status (🚨/devel) devel branch coverage via Codecov https://img.shields.io/badge/style-wemake-000000.svg Ansible Code of Conduct

pylibssh: Python bindings to client functionality of libssh specific to Ansible use case

Requirements

You need Python 2.7 or 3.5+

pylibssh requires libssh to be installed in particular:

  • libssh version 0.9.0 and later.

    To install libssh refer to its Downloads page.

Building the module

In the local env, assumes there’s a libssh shared library on the system, build toolchain is present and env vars are set properly:

git clone https://github.com/ansible/pylibssh.git
cd pylibssh
pip install tox
tox -e build-dists

manylinux-compatible wheels:

git clone https://github.com/ansible/pylibssh.git
cd pylibssh
pip install tox
tox -e build-dists-manylinux  # with Docker

# or with Podman
DOCKER_EXECUTABLE=podman tox -e build-dists-manylinux

# to enable shell script debug mode use
tox -e build-dists-manylinux -- -e DEBUG=1

License

This library is distributed under the terms of LGPL 2.1, see file LICENSE.rst in this repository.

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

ansible-pylibssh-0.0.1a9.tar.gz (51.8 kB view hashes)

Uploaded Source

Built Distributions

ansible_pylibssh-0.0.1a9-cp38-cp38-manylinux2010_x86_64.whl (2.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

ansible_pylibssh-0.0.1a9-cp38-cp38-macosx_10_9_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

ansible_pylibssh-0.0.1a9-cp37-cp37m-manylinux2010_x86_64.whl (2.0 MB view hashes)

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

ansible_pylibssh-0.0.1a9-cp37-cp37m-macosx_10_6_intel.whl (1.6 MB view hashes)

Uploaded CPython 3.7m macOS 10.6+ intel

ansible_pylibssh-0.0.1a9-cp36-cp36m-manylinux2010_x86_64.whl (2.0 MB view hashes)

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

ansible_pylibssh-0.0.1a9-cp36-cp36m-macosx_10_6_intel.whl (1.6 MB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

ansible_pylibssh-0.0.1a9-cp35-cp35m-manylinux2010_x86_64.whl (2.0 MB view hashes)

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

ansible_pylibssh-0.0.1a9-cp35-cp35m-macosx_10_6_intel.whl (1.6 MB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

ansible_pylibssh-0.0.1a9-cp27-cp27mu-manylinux2010_x86_64.whl (1.9 MB view hashes)

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

ansible_pylibssh-0.0.1a9-cp27-cp27m-manylinux2010_x86_64.whl (1.9 MB view hashes)

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

ansible_pylibssh-0.0.1a9-cp27-cp27m-macosx_10_6_intel.whl (1.6 MB view hashes)

Uploaded CPython 2.7m macOS 10.6+ intel

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