A Python client for the Digital Ocean API
Project description
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.
- Version 0.1.2
Added ip_address to Droplet object (thanks to Derek: http://github.com/covertgeek)
- Version 0.1.1
Added support for requests 1.x (thanks to Luke: http://github.com/clone1018)
- Version 0.1.0
Initial 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
dop-0.1.2.tar.gz
(4.9 kB
view hashes)