Skip to main content

Python SDK for working with the Labstep API

Project description

Python SDK for working with the Labstep API

Installation

pip install labstep

Usage

import labstep

# Login to your Labstep account
user = labstep.login('myaccount@labstep.com', 'mypassword')

# Get a list of your experiments
experiments = user.getExperiments(count=10)

# Get a specific experiment
my_experiment = experiments[0]

# Get a specific protocol
protocols = user.getProtocols()
my_protocol = protocols[0]

# Attach the protocol to the experiment
result = my_experiment.addProtocol(my_protocol)

For full list of available methods see:

https://labsteppy.readthedocs.io/en/latest/

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

labstep-3.18.0.tar.gz (61.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page