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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file doapi-0.2.0.tar.gz
.
File metadata
- Download URL: doapi-0.2.0.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09fc029d06d97407da8107ae77724ca11756843ee457b52d0f6a870bc59d684d |
|
MD5 | 6f8098ab3ad9129fe71fbe92853a0b57 |
|
BLAKE2b-256 | 2261f44c97e7922d0a724f36d54c058d04efdb4a10e8e50dbcc2152ca71ca256 |
File details
Details for the file doapi-0.2.0-py2-none-any.whl
.
File metadata
- Download URL: doapi-0.2.0-py2-none-any.whl
- Upload date:
- Size: 54.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f2fa6b1027e4809298ae3c443603c32720b1cea8c98f96bb858fbed421926e |
|
MD5 | c475590a887d50366650f507d00e1aa4 |
|
BLAKE2b-256 | 704c362b8289319597fa7106391c7dbfd5d6d5e9a48748b53336891a1ec3f696 |