Skip to main content

Multi-threading/processing wrapper for Paramiko

Project description

sshreader

Overview

SSHreader is a Python Module for multiprocessing/threading ssh connections in order to make ssh operations across multiple servers parallel. It utilizes the Paramiko module for its ssh client.

In order to maintain the widest range of compatibility, SSHreader is currently tested using the following versions of Python:

  • Python3.7
  • Python3.8
  • Python3.9
  • Python3.10
  • Python3.11

License

SSHreader is released under GNU Lesser General Public License v3.0, see the file LICENSE and LICENSE.lesser for the license text.

Installation

The most straightforward way to get the SSHreader module working for you is:

pip install sshreader

This will ensure that all the requirements are met.

Development Installation

If you are wanting to work on development of SSHreader perform the following:

make install

To ensure all development requirements are met. This will allow you to build the Sphinx Documentation for SSHreader or run the unit/integration tests!

Documentation

The documentation for SSHreader can be found here

Building Docs

If you have installed the requirements for SSHreader you can build its Sphinx Documentation simply by:

make docs

Then simply open docs/build/html/index.html in your browser.

Contributing

Comments and enhancements are very welcome.

Report any issues or feature requests on the BitBucket bug tracker. Please include a minimal (not-) working example which reproduces the bug and, if appropriate, the traceback information. Please do not request features already being worked towards.

Code contributions are encouraged: please feel free to fork the project and submit pull requests to the develop branch.

Extras

Included with sshreader is a binary called pydsh (generally installed in /usr/local/bin/). This works very similar to pdsh but uses sshreader at its core to perform ssh commands in parallel and return the results. The output of pydsh can also be piped through the dshbak tool that comes with pdsh.

Pydsh uses hostlist expressions to get its list of hosts to process.

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

sshreader-5.0.3.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sshreader-5.0.3-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file sshreader-5.0.3.tar.gz.

File metadata

  • Download URL: sshreader-5.0.3.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for sshreader-5.0.3.tar.gz
Algorithm Hash digest
SHA256 fb50e7a71663501c3de045c94d195c115b5b6c35db6f8ff5f1c7894c66d60455
MD5 95fd8ba6b866ebede697178d86b69554
BLAKE2b-256 8832efa11144ab5bd376227ae2e4bcf62d95320329a8e3996b3e7da92851de97

See more details on using hashes here.

File details

Details for the file sshreader-5.0.3-py3-none-any.whl.

File metadata

  • Download URL: sshreader-5.0.3-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for sshreader-5.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c0d20ad8eb74024dd1d7461bba822ed1b1d8764e828f7e8348371757b7dd724e
MD5 67e3d8d7a90b2ea81cc45c46bd5ec1fd
BLAKE2b-256 a5f12b572778d614151ea2411d29236f0c861c8d0d14712f44b956ee1d7d8046

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page