Python wrapper of the Linode API
Project description
A thin python wrapper around Linode’s API. Built with the idea of sticking to Linode’s docs and being pythonic.
Installation
pip install linode
Usage
from linode import Api api = Api('your_api_key') api.linode.create(datacenterid, planid, paymentterm) api.linode.disk.createfromdistribution(linodeid, distributionid, label, size, rootpass, rootsshkey)
Tests
I has them.
Caveats
Any deviations from the Linode docs.
Variable Casing
All variables have been lower cased. The Linode API is case insensitive so this is not a true change from their docs.
Variable Order
Required variables have been declared as positional arguments and optional variables as keyword arguments with a default of None. This means all optional arguments must come after required ones.
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
linode-0.2.tar.gz
(3.8 kB
view details)
File details
Details for the file linode-0.2.tar.gz
.
File metadata
- Download URL: linode-0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f928d3ae44b5b19a71d343bc1b52ca3a8ad22ebdf77392d13a1b089b268997 |
|
MD5 | 02f2a3ebbf7a834a5d184a29039a7202 |
|
BLAKE2b-256 | f577d9f51e630ae273318f0745ad6f84be1c33251719a736ef89f248c8b07188 |