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


Release history Release notifications | RSS feed

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.13.0.tar.gz (51.9 kB view details)

Uploaded Source

File details

Details for the file labstep-3.13.0.tar.gz.

File metadata

  • Download URL: labstep-3.13.0.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/60.5.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.10

File hashes

Hashes for labstep-3.13.0.tar.gz
Algorithm Hash digest
SHA256 6e18702e804a809016fb797fba3f921c06fecf1d66da1ad89654b358bd3ab873
MD5 7e256debd976c9fb2264ad1d1ecae6b2
BLAKE2b-256 baea0049ec2f4f4c16b926717b28f12333081ba4034a1fd34c6fe794f268119d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page