Python Wrapper around the Labstep API
Project description
labstepPy
Python wrapper around the Labstep API
Installation
pip install labstep
Usage
from labstep import login, createExperiment, addComment, attachFile
# Login to your Labstep account
user = login('demo@labstep.com','demopassword')
# Create an experiment
experiment = createExperiment(user,'My First Python Experiment','An experiment created using the labstep python package')
# Comment on an experiment
addComment(user,experiment,'It's working great!')
# Attach a file to an experiment
filepath = 'my_script.py'
attachFile(user,experiment,filepath,'This is the python script used in this experiment')
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-0.2.tar.gz
(2.5 kB
view hashes)