An SSH automation library using expect.
Project description
RedExpect
RedExpect makes automating remote machines over SSH very easy to do and is very fast in doing exactly what you ask of it. Based on ssh2-python (which provides libssh2 bindings for python) and made into an easy to use SSH library via RedSSH. If you're familiar with using expect but would like the easy of use and accessibilty of python, then look no further!
Installing
RedExpect can be installed via pip with pip install redexpect
or the latest commit, which may not be the most stable, from git with pip install git://git@bitbucket.org/Red_M/RedExpect.git
Documentation
99% of questions around how to do something should be answered in the documentation. If something is not there please raise an issue so it can be added to the documentation. Now with autodocs!
Why not use [other software]?
I've found other automation libraries or solutions lacking, such as:
- Compatibility with remote servers (odd servers causes the library to be unable to connect).
- Feature set is limited (eg, no tunneling).
- Focuses on only connecting to Linux servers.
- Requires an agent to be installed, a state file to be present or a master "server".
- Poor performance.
TO DO
- Unit tests
- More examples
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 redexpect-2.0.2.tar.gz
.
File metadata
- Download URL: redexpect-2.0.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b65b524bcb46e2072d4562fc4c38626e2a9c2b90e00ae63d4297a8d079c3a9 |
|
MD5 | 88b85c7a196908b80c191dc74188ea22 |
|
BLAKE2b-256 | f9eeec27bc0092c43238de6698d36746d2206f9cec95c5f28225731c552f704c |
File details
Details for the file redexpect-2.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: redexpect-2.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a91fd62232c9c344e1ed1c76906d9df34aebbda773d7513600a800694b51fe5 |
|
MD5 | 85c28809beefe515ddb80f617513c013 |
|
BLAKE2b-256 | 0aa6342c1b12047f05a1a104a5f375c8335543f1377dfd363d674ae9b2a4cb59 |