Skip to main content

Python bindings for Linode API

Project description

# Linode Python Bindings

The bindings consist of three pieces:
  • api.py: Core library that manages authentication and api calls

  • shell.py: A command line interface to api.py that allows you to invoke

    a specific api command quickly

  • oop.py: An object oriented interface to api.py inspired by django

For definitive documentation on how the api works please visit: https://www.linode.com/api

## API Keys

When creating an api object you may specify the key manually, or use the Api.user_getapikey which will return your apikey as well as set the internal key that will be used for subsequent api calls.

Both the shell.py and oop.py have mechanisms to pull the api key from the environment variable LINODE_API_KEY as well.

## Batching

Batching should be used with care, once enabled all api calls are cached until Api.batchFlush() is called, however you must remember the order in which calls were made as that’s the order of the list returned to you

## License

This code is provided under an MIT-style license. Please refer to the LICENSE file in the root of the project for specifics.

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-python-1.1.1.tar.gz (19.5 kB view details)

Uploaded Source

File details

Details for the file linode-python-1.1.1.tar.gz.

File metadata

File hashes

Hashes for linode-python-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5078aae54a5f6f325ac8cd47c3baa2582546d51b7060a0f9f6ad851027817bc0
MD5 701b88df60d5e1bb782cef6336f9ea19
BLAKE2b-256 4b74e488eb310b266e679e9e5095563be08185f2923802fb87be8f5cad652b74

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