Digital Ocean API client library
Project description
Python Digital Ocean Library
Description
Documentation
Requirements
Python 3.6+
DOLib use this awesome libraries:
Installation
$ pip install dolib
Example
from dolib import Client
client = Client(token="60c13d47f17dbed9f7293cf8c82d18fece3439a54f88e6c52c2df07f87bd8dd9")
droplets = client.droplets.all()
volume = client.volumes.get("53cf7120-9d5b-11ea-aed1-0a58ac14d008")
client.volumes.attach(volume, droplet_id=droplets[0].id)
Contributing
See the CONTRIBUTING.md document for details.
Versioning
This project follows Semantic Versioning 2.0.0.
License
This project is licensed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dolib-0.1.3.tar.gz
(15.1 kB
view hashes)
Built Distribution
dolib-0.1.3-py3-none-any.whl
(27.2 kB
view hashes)