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

Uploaded Source

File details

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

File metadata

  • Download URL: labstep-3.35.1.tar.gz
  • Upload date:
  • Size: 94.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.9

File hashes

Hashes for labstep-3.35.1.tar.gz
Algorithm Hash digest
SHA256 0733586bcb9ae33a915e3633b59a78cca0523e9623b3451a13968d7d6dc20d8f
MD5 4df37fbc4054f22f701868158b0af8be
BLAKE2b-256 4ed4fdbb02f0823cbb78041a573634ed99a6da2301291c8230a65c4cfb591b3d

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