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.b3
Fixed http methods for droplets
Change edit_domain_record method name
Ability to install with easy_install without error (thanks to Adam PAPAI)
- Version 1.6.b1
Updated code to support full api
Improved comments for methods
Some refactor
- Version 0.1.6
Python 3 compatibility thanks to Sambodson (https://github.com/samdobson)
- 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
Added ssh_keys support to Droplet object (thanks to Derek: http://github.com/covertgeek)
- Version 0.1.2
Added ip_address to Droplet object (thanks to Derek: http://github.com/covertgeek)
- Version 0.1.1
Added support for requests 1.x (thanks to Luke: http://github.com/clone1018)
- Version 0.1.0
Initial release
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
File details
Details for the file dop-1.6.b3.tar.gz
.
File metadata
- Download URL: dop-1.6.b3.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a35b041ba977be1caa845818597d7d3a919ed18b9b333b6289e08a97cd5a2cc |
|
MD5 | 32e43edc7c59c5ba9a3130d7db5cda57 |
|
BLAKE2b-256 | af11f8c4fc36ce84942b1889394e95c7c2a4d4cb56a838bcab3200de17d3b5cc |