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.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for pydoautomator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dff7db2ad9295f2dc80cea0a1a3ea69ef11d301d262c3547984d86ef1ed0dec5 |
|
MD5 | 2000510c4f744602769bb14f7b42c0b9 |
|
BLAKE2b-256 | cac61015c4b22c7a156e4b0b3a25d8844304167c11c39b53a48f893039bee09d |