Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

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')

# Print regions.
regions = client.regions()
for region in regions:
    print(region.to_json())

# Create a 512Mb droplet (Debian 7.0 x32) in the Amsterdam region.
client.create_droplet(name='test', size_id=66, image_id=303619, region_id=2)

Contribute

Pull requests and improvements are welcome.

Version 0.1.6
Version 0.1.5
  • Updated API
Version 0.1.4
  • Added virtio parameter to create_droplet method
  • Minor fixes in all_ssh_keys method
  • Readme region example now uses to_json() method
Version 0.1.3
Version 0.1.2
Version 0.1.1
Version 0.1.0
  • Initial release

Release History

History Node

1.6.b6

History Node

1.6.b5

History Node

1.6.b4

History Node

1.6.b3

History Node

1.6.b1

This version
History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
dop-0.1.6.tar.gz
(5.5 kB) Copy SHA256 Hash SHA256
Source None Mar 11, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting