Skip to main content
`dioc` is a package for DigitalOcean.
::
$ cat << eof >> .bashrc
export DIOC_TOKEN=...
export DIOC_DEFAULT_SSHKEY=sshk
export DIOC_DEFAULT_SIZE=512mb
export DIOC_DEFAULT_REGION=sgp1
eval "$(_DIO_COMPLETE=source dio)"
eof

$ dio create test '' user_data='"#!/bin/bash\ndocker run -p 80:8080 tsutomu7/gotour"'
$ dio scp sample test:/tmp
$ dio ssh test 'ls -l /tmp'
$ dio destroy test

$ python3
import dioc
d = dioc.Droplet('test')
c = dioc.ssh_client()
c.exec_command('ls')
d.destroy()

Requirements
------------
* Python 3
* paramiko
* python-digitalocean
* Click

Features
--------
* nothing

Setup
-----
::

$ pip install dioc
or
$ easy_install dioc

History
-------
0.0.1 (2015-12-27)
~~~~~~~~~~~~~~~~~~
* first release

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.1.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file dioc-0.1.1.tar.gz.

File metadata

  • Download URL: dioc-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dioc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e7a89fcd5b6adea192c68194879e8348fd5a5700ef80323929a2f5d2015c62f9
MD5 f6fbc8eb32ae49bb7fb01ce4f62f51eb
BLAKE2b-256 bc458e798438230603769438a6676121a16ac2341088f570aff6400f240b3d0c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page