Skip to main content

An API to the instantlab middleware

Project description

InstantLab Logo

Instantlab is a project that provides operating system experiments in the cloud.

License Python versions supported Documentation Build status Test Coverage

Instantlab_apiclient maps calls to the HTTP interface of the InstantLab Middleware to python functions. Results from the API are mapped to python objects and Errors in the API are raised as python exceptions.

Homepage: http://instantlab.org

Installation and Dependencies

Install instantlab_apiclient with pip install instantlab_apiclient. This will also install all dependencies.

Instantlab_apiclient works with Python2.7+ and Python3.x.

Example

from instantlab_apiclient import InstantlabApi

# instanciate API
api = InstantlabApi(middleware_url, your_api_id, your_api_key)
# fetch list of InfrastructureLayout
infrastructure_layouts = api.list_infrastructure_layouts()
# instanciate an Infrastructure from an InfrastructureLayout
infrastructure = api.create_infrastructure(infrastructure_layouts[0].id)

Project details


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
instantlab_apiclient-0.2.6.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

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