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

DigitalOcean API library & CLI

Project Description

(Until v1.0 is released, backwards compatibility will be broken at will.)

As yet another Python wrapper library for version 2 of the DigitalOcean API, doapi offers:

  • Individual methods for every operation listed in the API docs plus methods for making arbitrary “freeform” requests or actions
  • Methods for waiting for multiple droplets to come up or multiple actions to complete in parallel (and if you get tired of waiting, you can hit Cntrl-C to make the methods return immediately)
  • Connection pooling via requests’ Session objects
  • Paginated results are returned as generators that make requests when necessary, so your account’s entire action history isn’t fetched all at once
  • A command-line interface to all of the above that outputs JSON objects in the same format as used by the API (perfect for massaging with jq!)
  • When creating droplets from the command line, new SSH public keys can be specified without having to register them explicitly beforehand.
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
doapi-0.2.0-py2-none-any.whl (54.0 kB) Copy SHA256 Checksum SHA256 py2 Wheel Aug 30, 2016
doapi-0.2.0.tar.gz (37.7 kB) Copy SHA256 Checksum SHA256 Source Aug 30, 2016

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting