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


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1.0

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
linode-0.4-py2.py3-none-any.whl (4.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Apr 21, 2014
linode-0.4.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Apr 21, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page