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.3.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for pydoautomator-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a3493df5bdab0576476389021ea7e3426cba8df143788496e5ad456b440967 |
|
MD5 | a6198b3c2cff84f9cda052f2b54a23f5 |
|
BLAKE2b-256 | 4a540ec73d721e901480f18069feaa657cc0557936062d3140f7656c4be2470b |