Skip to main content

An SSH automation library using expect.

Project description

RedExpect

Documentation Status

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redexpect-2.0.3.post1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

redexpect-2.0.3.post1-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file redexpect-2.0.3.post1.tar.gz.

File metadata

  • Download URL: redexpect-2.0.3.post1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for redexpect-2.0.3.post1.tar.gz
Algorithm Hash digest
SHA256 2f4c296fb931da6dfc0df0b0127204fc614da9e78d11b79fe2533721870048b6
MD5 cf781080f1cb30b06352c8ffd63ec28e
BLAKE2b-256 2339b8c1a7f937d0044a87715d24995dd12b2ef9518cb762b831bb6fba585fb4

See more details on using hashes here.

File details

Details for the file redexpect-2.0.3.post1-py2.py3-none-any.whl.

File metadata

  • Download URL: redexpect-2.0.3.post1-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for redexpect-2.0.3.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9c8685350a0afbfd1e7b1b55e66aed1493d290b589a6f5f3ac300ca542f69c6
MD5 9827467f065d17e303efbaf33f9fe8b9
BLAKE2b-256 db3809f6fc3dd3592689e6fb3e2c083c37bd586f7438961c78174e358f76d384

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