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.0.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file pysshops-0.2.0.tar.gz
.
File metadata
- Download URL: pysshops-0.2.0.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 | 813de956a81154d535eca11548d7167ea65324f9ef7369613050f02211acb629 |
|
MD5 | cc35b32127cba53358493351c68f9b12 |
|
BLAKE2b-256 | 0136a52b4f2e58a2952bf6837c19db9b4d5a81bc314fdc3a63beb287cebd0a47 |
Provenance
File details
Details for the file pysshops-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pysshops-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.4 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 | 5423aba6663584d3be03f3a9d5f8e9c8e3dd76f17916c31323931344f020bf4e |
|
MD5 | d70de10fab952586b1ff34c2b1132ef0 |
|
BLAKE2b-256 | 7658beaba19b70fee33adb08cc12bd3a9b1158b42e346898fc271d9fc036134f |