Skip to main content

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

This version

0.1

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.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

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