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.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for pydoautomator-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95ef45c09824862d91eb579bfff52ad3942bdb01754bf685ec59874a8ba7c59 |
|
MD5 | f68a0a879966561786cbc1517cdaad90 |
|
BLAKE2b-256 | f46b24964521551e5dd082cd183b8673541c825dfc37cac5cdd0c6f4bf5892dc |