`dioc` is a package for DigitalOcean.
Project description
`dioc` is a package for DigitalOcean.
::
# Set your token to "dioc.yml"
$ cat << eof >> dioc.yml
!Setting
token: !!!set_your_token!!!
default_sshkey: sshkey
default_size: 512mb
default_region: sgp1
eof
import dioc
d = dioc.Droplet('test')
c = dioc.ssh_client()
c.exec_command('ls')
d.destroy()
Requirements
------------
* Python 3
* paramiko
* pyyaml
* python-digitalocean
Features
--------
* nothing
Setup
-----
::
$ pip install dioc
or
$ easy_install dioc
History
-------
0.0.1 (2015-12-27)
~~~~~~~~~~~~~~~~~~
* first release
::
# Set your token to "dioc.yml"
$ cat << eof >> dioc.yml
!Setting
token: !!!set_your_token!!!
default_sshkey: sshkey
default_size: 512mb
default_region: sgp1
eof
import dioc
d = dioc.Droplet('test')
c = dioc.ssh_client()
c.exec_command('ls')
d.destroy()
Requirements
------------
* Python 3
* paramiko
* pyyaml
* python-digitalocean
Features
--------
* nothing
Setup
-----
::
$ pip install dioc
or
$ easy_install dioc
History
-------
0.0.1 (2015-12-27)
~~~~~~~~~~~~~~~~~~
* first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dioc-0.0.1.zip
(4.3 kB
view hashes)