Skip to main content

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
Version 0.1.1
Version 0.1.0
  • Initial release

Project details


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

Uploaded Source

File details

Details for the file dop-0.1.2.tar.gz.

File metadata

  • Download URL: dop-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dop-0.1.2.tar.gz
Algorithm Hash digest
SHA256 25116a7c1911001c04ef29752388430640a297ef2e1e53db6421339648519dec
MD5 22bd10350bef1cf3130d421905cb22cc
BLAKE2b-256 17bef07a23db813b1728e6d06c9388c1aec6958fd8abe9e6601521ce4a88b35b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page