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

Uploaded Source

Built Distribution

linode-0.3-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for linode-0.3.tar.gz
Algorithm Hash digest
SHA256 3aa2bc808e9180b13bd50962b4defc9c1fa3c498f3a5f5c24ed15c0760aa19b0
MD5 6e798e572685505dac586061419f30e5
BLAKE2b-256 1af5265953beb3cf75c8785e648bffdf79fd0da6bad65ccd4bf810b298d972f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linode-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f17ed08f65bdcfe0ca4a47c9ba1f53c34d175bd2deb2da2ef2456411beca218f
MD5 61fbcfa99bb8c3b07a509ff3698d93ab
BLAKE2b-256 d499ab803f2a104897ca452e9aa79328b79bb844b8a22414955a2271c288bbcd

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