Human readable slim REST client
Project description
# pysshops
pysshops is a comodity pacakge to build python operations tools working on ssh and powered by [paramiko](https://github.com/paramiko/paramiko).
## Quickstart
```python
from pysshops import SshOps
sshops = SshOps('hostname.domain.it', 'username')
with sshops as ssh:
ssh.remote_command('ls -l /var/tmp')
```
```python
from pysshops import SftpOps
sftpops = SftpOps('hostname.domain.it', 'username')
with sftpops as sftp:
sftp.deploy('pysshops_sftp', '/tmp/pysshops_sftp')
```
## Install
### Git
```
git clone
cd pysshops
python setup.py install
```
### Pip
```
pip install pysshops
```
## Features
* simple
* powered by rock-solid paramiko
* python2/3 compatibility
* both ssh and sftp facilities
* external key based authentication at os level
pysshops is a comodity pacakge to build python operations tools working on ssh and powered by [paramiko](https://github.com/paramiko/paramiko).
## Quickstart
```python
from pysshops import SshOps
sshops = SshOps('hostname.domain.it', 'username')
with sshops as ssh:
ssh.remote_command('ls -l /var/tmp')
```
```python
from pysshops import SftpOps
sftpops = SftpOps('hostname.domain.it', 'username')
with sftpops as sftp:
sftp.deploy('pysshops_sftp', '/tmp/pysshops_sftp')
```
## Install
### Git
```
git clone
cd pysshops
python setup.py install
```
### Pip
```
pip install pysshops
```
## Features
* simple
* powered by rock-solid paramiko
* python2/3 compatibility
* both ssh and sftp facilities
* external key based authentication at os level
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
pysshops-0.2.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file pysshops-0.2.1.tar.gz
.
File metadata
- Download URL: pysshops-0.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419128c5422714e07ddf2e64940fcd4c46ce28ac71bc05c43061293712d4cfc9 |
|
MD5 | c58ddd7227d665bd4847facfa40ba371 |
|
BLAKE2b-256 | 69ef1e01680cee55f7235db289740500bb3ebf3f4a176c7aac1bf3d9fe9c9a29 |
Provenance
File details
Details for the file pysshops-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pysshops-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd26a4441fb15a292061bbc850c5b993d0924715d34a85f6776fd159a235b28f |
|
MD5 | 322c12a0840187cd994d30021dedd491 |
|
BLAKE2b-256 | 064a21396b1424bc7ff1f552efadbb758e56eabca907b25e0628bdd98da26a8a |