Skip to main content

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


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.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

pysshops-0.2.2-py2.py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 2 Python 3

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