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.


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.


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.

Files for instantlab_apiclient, version 0.2.6
Filename, size File type Python version Upload date Hashes
Filename, size instantlab_apiclient-0.2.6.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page