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.
Metadata
Release files for linode 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linode-0.4.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linode-0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / linode-0.4.tar.gz
| Download URL | linode-0.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573
|
|
BLAKE2b-256 checksum How to use checksums |
f88652108ea6a29b41e14eaf8d3d9eaba31e039eeccb6245af08ef52f9d6a4f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / linode-0.4-py2.py3-none-any.whl
| Download URL | linode-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d98c0639d641f7923df3e228353ceb40999269dc5b2cce5b7538c24fb98dbc9c
|
|
BLAKE2b-256 checksum How to use checksums |
dbd54b535d620b64ab615a94a630e96ba49f6246b9d50efda611130a291d8e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |