Skip to main content
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.

Metadata

Release files for netssh2 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netssh2 0.1.7
File Size Uploaded
netssh2-0.1.7.tar.gz 33.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netssh2 0.1.7
File Interpreter ABI Platform
netssh2-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 60.2 kB

Release files / netssh2-0.1.7.tar.gz

Download URL netssh2-0.1.7.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
80ee483cb573489b19a15f5d039aad7f13b2f03a11853bf1270febe3d176b4e2
BLAKE2b-256 checksum
How to use checksums
9d65cc4803b9e2b5a794eb9ef377bb76cef0b1257a9cd44b9af3201637ea5d63
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / netssh2-0.1.7-py2.py3-none-any.whl

Download URL netssh2-0.1.7-py2.py3-none-any.whl
Size 27.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
80c9c642218b0a5e3e0818cbc9578b9eceb2d67255d24abaaf394d5b92293e79
BLAKE2b-256 checksum
How to use checksums
8d4f3b5613c33656679df48b58d4085ad3433979e17ea53db68d5b41959a1610
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page