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.

This is currently untested alpha software.

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for linode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2f2b3886b6aaa46bd5345e31c7f5f406d1832f34603509f501b80eed47ca3b8
MD5 7e590c2e45b143abe14081fa8d51751b
BLAKE2b-256 1b9e4bd7e17c2522a5492f2b44961331e6aa9891b338068b289614b768a4c7ca

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