Skip to main content

Library for communicating with network devices using ssh2-python.

Project description

ssh2-python PyPI PyPI - License https://img.shields.io/pypi/pyversions/ssh2-python.svg?style=plastic PyPI - Wheel Gitlab pipeline status Read the Docs

Project description

Library to use ssh2-python to communicate with different network devices.

Installation

pip install netssh2

Documentation

Documentation can be found here: https://netssh2.readthedocs.io/en/latest/

Changelog

0.1.7 (2019-04-26)

  • Make sure command timeout works.

  • Add tests for logging.

  • Allow to change logging level on Session init plus some more debug.

  • Move away from unittest to pure py.test.

  • Allow to use key authentication.

  • Wrap channel.write for nonblocking transfer.

  • Add scp_send.

  • Split command to multiple if it is longer than target buffer.

  • Add toggle for sending newline when getting rid of the header.

0.1.6 (2019-04-12)

  • Allow session with no pass.

  • Allow to specify read buffer size.

  • Add message level to log message.

  • No need to merge STDOUT and STDERR with invoke shell.

  • Add lots of debug messages for easier debugging.

  • Add debug on SocketRecvError.

  • Wrap encoding and decoding of strings to functions.

  • Do not retry socket connection if we got timeout.

  • Print output to debug on timeout when waiting for prompt.

0.1.5 (2019-04-02)

  • Allow changing logging level on the run.

  • Fix getting output from when running without interactive shell.

0.1.4 (2019-03-27)

  • Upload to PyPi if pipeline is passing.

  • Run CI build job every time (has build checks).

  • Fix tag message.

  • Specify long_description_content_type in setup.py to avoid warns.

  • Move pushing to PyPi to CI and add wheels.

  • Add setup.cfg with wheel specs.

0.1.3 (2019-03-26)

  • Push to pypi only when twine check passes.

  • Use only subject of commit in changelog.

  • Push also tags when bumping version.

0.1.2 (2019-03-26)

  • Add automatic MANIFEST.in updating to bump_version.sh.

  • Add manifest file to include everything to built packages.

  • Add script for automated version bumping.

  • Add .gitignore.

0.1.1 (2019-03-26)

  • Fix date of 0.0.1 release.

  • Fix docs link in README.

  • Add changelog to documentation.

  • Add license metadata setup.py.

  • Add changelog to setup.py long description (pypi).

  • Have only GPL v3 on PyPi.

0.1.0 (2019-03-26)

  • Add changelog.

  • Improve README.

  • Add pypi identifiers to setup.py.

  • Add RST docs to be generated with sphinx using ‘make html’.

  • Fix python envs in tox.

  • Add code coverage to tox test.

  • Change command prompt too if changing prompt of existing session.

  • Add basic tests for tox.

  • Cleanup when disconnecting.

  • Add messages to assertions.

  • Catch error when given invalid hostname.

  • Add linting CI.

0.0.1 (2019-03-21)

  • Basic implementation of netssh2 to work with paralel SSH and interactive shell.

  • Add license.

  • Initial commit.

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

netssh2-0.1.7.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

netssh2-0.1.7-py2.py3-none-any.whl (27.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file netssh2-0.1.7.tar.gz.

File metadata

  • Download URL: netssh2-0.1.7.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for netssh2-0.1.7.tar.gz
Algorithm Hash digest
SHA256 80ee483cb573489b19a15f5d039aad7f13b2f03a11853bf1270febe3d176b4e2
MD5 454b27d1588625cb26fbd5032852fa82
BLAKE2b-256 9d65cc4803b9e2b5a794eb9ef377bb76cef0b1257a9cd44b9af3201637ea5d63

See more details on using hashes here.

File details

Details for the file netssh2-0.1.7-py2.py3-none-any.whl.

File metadata

  • Download URL: netssh2-0.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for netssh2-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80c9c642218b0a5e3e0818cbc9578b9eceb2d67255d24abaaf394d5b92293e79
MD5 dcdb3f8c3662e1f8d7f0ad8e0b534c3a
BLAKE2b-256 8d4f3b5613c33656679df48b58d4085ad3433979e17ea53db68d5b41959a1610

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