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.8
- Python3.9
- Python3.10
- Python3.11
- Python3.12
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 ensures that all the requirements are met.
Documentation
The documentation for SSHreader can be found here
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.
Development Installation
If you are wanting to work on development of SSHreader, first ensure Poetry is installed and then:
poetry install --with dev
To ensure all development requirements are met. This will allow you to run the unit/integration tests!
Building Docs
If you have installed Poetry] you can build its Sphinx Documentation for SSHreader simply by:
make docs
Then simply open docs/build/html/index.html
in your browser.
Extras
Included with sshreader is a script called pydsh
. This works very similar topdsh
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sshreader-6.0.0.tar.gz
.
File metadata
- Download URL: sshreader-6.0.0.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/5.15.0-1068-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b812663b4c16bea9cd9cfcededf9ba89caac641f5f2ce1d5295ca689c71867ed |
|
MD5 | e5145f3c2c64676ad7853ba70e523d3e |
|
BLAKE2b-256 | 1acf06b7054060f47b78d2faf543b0d6e32e47ecb972e8afc652c9efc37d7bd8 |
File details
Details for the file sshreader-6.0.0-py3-none-any.whl
.
File metadata
- Download URL: sshreader-6.0.0-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/5.15.0-1068-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf933b17e6986b7d48db2a975603a3e079aaf2e4e7aa0bba36a0411efc115de |
|
MD5 | 1e535b8f3852ea21487c8d2cb6a8f761 |
|
BLAKE2b-256 | e9788ad25913a46a7d0327b8ccd5642dc6c78522705589a761e8e85a7fd6d453 |