An API to the instantlab middleware
Instantlab is a project that provides operating system experiments in the cloud.
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.id)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|
Hashes for instantlab_apiclient-0.2.6.tar.gz