Intro
The spsshrunner package aims at facilitating SSH expect flows.
Install
$ pip install spsshrunner
Use
from spsshrunner.sshrunner import SshRunner
my_ssh_runner = SshRunner(host="10.1.1.212", user="pi", password="raspberry", prompt="\r\npi@raspberrypi:.*", timeout=5)
print(my_ssh_runner)
my_ssh_runner.initiate_connection()
my_ssh_runner.send_command(command="ls -lrt /")
my_ssh_runner.send_command(command="pwd")
Release files for spsshrunner 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spsshrunner-0.0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spsshrunner-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / spsshrunner-0.0.3.tar.gz
| Download URL | spsshrunner-0.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edb6becb5211710e780359b25c2edd4bcfabe42861fbe185923b2b8931e5a41b
|
|
BLAKE2b-256 checksum How to use checksums |
389d2aabef865fa97b6abb863c41a5cedf6afbc19cb35afae1c78ccb628cd6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
|
Release files / spsshrunner-0.0.3-py3-none-any.whl
| Download URL | spsshrunner-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc64b4c79a26bda077fca841035bbbe493fb83fb8793571a6f5df2e7611fef08
|
|
BLAKE2b-256 checksum How to use checksums |
487ee656d7e26abfaaf9f0025a06b2cd2a722fbe11305f107dd60a86302b3456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
|