Skip to main content

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.

https://secure.travis-ci.org/ghickman/linode.png?branch=master

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.4.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

linode-0.4-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file linode-0.4.tar.gz.

File metadata

  • Download URL: linode-0.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for linode-0.4.tar.gz
Algorithm Hash digest
SHA256 db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573
MD5 03a306575cf274719b3206ecee0bda9e
BLAKE2b-256 f88652108ea6a29b41e14eaf8d3d9eaba31e039eeccb6245af08ef52f9d6a4f3

See more details on using hashes here.

File details

Details for the file linode-0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for linode-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d98c0639d641f7923df3e228353ceb40999269dc5b2cce5b7538c24fb98dbc9c
MD5 ad5009c3c04612b6ae1ab3a014cab738
BLAKE2b-256 dbd54b535d620b64ab615a94a630e96ba49f6246b9d50efda611130a291d8e9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page