The Digital Ocean automations lib
Project description
pydoautomator
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.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for pydoautomator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bcfd41c3482f7399f0b0a390d76b6bfe0f4862c290f064eda4b0f67323b9b80 |
|
MD5 | ebf0fc5dd07726ed3f24e0b972493eaf |
|
BLAKE2b-256 | d3becc0e716daf84716335707504a243a8f3d52278f700de55a0568eb5beaca3 |