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

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

Contribute

Pull requests and improvements are welcome.

Version 1.6.b1
  • Updated code to support full api

  • Improved comments for methods

  • Some refactor

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

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-1.6.b1.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file dop-1.6.b1.tar.gz.

File metadata

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

File hashes

Hashes for dop-1.6.b1.tar.gz
Algorithm Hash digest
SHA256 c3e032212b02ea1b77e4561cf84c8b796df3b4ff50c106c5fedc46e76bf55a12
MD5 604537378e78fce5c37e711b59cc1284
BLAKE2b-256 76e67c29b74dba3669c6dd646a98f1c90ad7c9587601658273fb2dac02ebc1cc

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