DOP is a MIT licensed Python wrapper for Digital Ocean's API.
Python
Pull request Compare This branch is 57 commits behind ahmontero:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dop
.gitignore
AUTHORS.txt
CHANGES.txt
LICENSE.txt
MANIFEST.in
README.rst
setup.py

README.rst

DOP: Digital Ocean API Python Wrapper

DOP is a MIT licensed Python wrapper for Digital Ocean's API.

Features

Full support for all methods listed here except (they have weird behaviour):
  • reset_root_password
  • restore_droplet
  • destroy_image

Support for ssh is still experimental. Digital Ocean does not have full support for adding ssh keys neither edit them yet.

Installation

To install dop, simply:

$ pip install dop

Example

It is pretty easy to use:

from dop.client import Client

client = Client('client_id', 'api_key')
regions = client.regions()
for region in regions:
    print region

Contribute

Pull requests and improvements are welcome.