The Digital Ocean automations lib
Project description
pydoautomator
The Digital Ocean python automation lib
Alpha
from pydoautomator import Automator, Droplet
digital_ocean_token = 'my-digital-ocean-api-token'
aut = Automator(digital_ocean_token)
droplet_data = {
"name" : "t1.techno24x7.com",
"region" : "nyc1",
"size" : "s-8vcpu-16gb",
"image" : 68259296,
"ssh_keys" : [27410347, 27608055, 27590881],
"private_networking" : True,
"vpc_uuid" : "47e5c00a-2b23-4dac-bed4-0e44659941f3",
"monitoring" : True
}
droplet = Droplet(**droplet_data)
aut.create_droplet_from_snapshot(droplet)
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
pydoautomator-0.1.3.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for pydoautomator-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bde8bc7bd9e366272f02d3db45d12ade0a1afa8e399516db9e53b515dd320f5 |
|
MD5 | f87df24c2aafd0af8327702bd70a60ca |
|
BLAKE2b-256 | ae2064465745e3ae018d360bd616ffa0ceb2327342546dc76ac04e46ef237eb3 |