skip to navigation
skip to content

Not Logged In

dop 0.1.4

A Python client for the Digital Ocean API

Latest Version: 1.6.b5

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')
regions = client.regions()
for region in regions:
    print region.to_json()

Contribute

Pull requests and improvements are welcome.

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
 
File Type Py Version Uploaded on Size
dop-0.1.4.tar.gz (md5) Source 2013-03-28 4KB
  • Downloads (All Versions):
  • 22 downloads in the last day
  • 543 downloads in the last week
  • 2374 downloads in the last month
  • Author: Antonio Hinojo
  • Home Page: http://github.com/ahmontero/dop
  • License:
    Copyright (c) 2013 Antonio Hinojo.
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    
    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Package Index Owner: ahmontero
  • DOAP record: dop-0.1.4.xml