Skip to main content

A hardware agnostic platform for liquid handling

Project description

PyLabRobot

Docs | Forum | Installation | Getting started

What is PyLabRobot?

PyLabRobot is a hardware agnostic, pure Python library for liquid handling robots.

PyLabRobot provides a layer of general-purpose abstractions over robot functions, with various device drivers for communicating with different kinds of robots. Right now we only have drivers for Hamilton and Opentrons robots, but we will soon have drivers for many more. The two Hamilton drivers are Venus, which is derived from the PyHamilton library, and STAR, which is a low-level firmware interface. The Opentrons driver is based on [Opentrons Python API](https://github.com/rickwierenga/opentrons python-api). We also provide a simulator which plays the role of a device driver but renders commands in a browser-based deck visualization.

Here's a quick example showing how to move 100uL of liquid from well A1 to A2 using firmware on Hamilton STAR (this will work with any operating system!):

from pylabrobot import LiquidHandler
from pylabrobot.liquid_handling.backends import STAR
from pylabrobot.liquid_handling.resources import STARLetDeck

lh = LiquidHandler(backend=STAR(), deck=STARLetDeck())
lh.setup()
lh.load_layout("hamilton-layout.json")

lh.pickup_tips(lh.get_resource("tips")["A1:H8"])
lh.aspirate(lh.get_resource("plate")["A1"], volume=100)
lh.dispense(lh.get_resource("plate")["A2"], volume=100)
lh.return_tips()

To run the same procedure on an Opentrons, switch out the following lines:

- from pylabrobot.liquid_handling.backends import STAR
- from pylabrobot.liquid_handling.resources import STARLetDeck
+ from pylabrobot.liquid_handling.backends import OpentronsBackend
+ from pylabrobot.liquid_handling.resource import OTDeck

- lh = LiquidHandler(backend=STAR(), deck=STARLetDeck())
+ lh = LiquidHandler(backend=OpentronsBackend(), deck=OTDeck())

- lh.load_layout("hamilton-layout.json")
+ lh.load_layout("opentrons-layout.json")

Resources

Documentation

docs.pylabrobot.org

Support

Developed for the Sculpting Evolution Group at the MIT Media Lab

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

PyLabRobot-0.1.3.tar.gz (102.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyLabRobot-0.1.3-py3-none-any.whl (129.2 kB view details)

Uploaded Python 3

File details

Details for the file PyLabRobot-0.1.3.tar.gz.

File metadata

  • Download URL: PyLabRobot-0.1.3.tar.gz
  • Upload date:
  • Size: 102.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for PyLabRobot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f2a9afb107b294fe5f2e781daba093246b78758e02a34dc2a8ac55f4ea2c47fe
MD5 9d0023a660164623fe8bf65df51b61be
BLAKE2b-256 99b44caeeb19dc8637d368651504a43c2f0b43c3271a591ebdfa1776143c54de

See more details on using hashes here.

File details

Details for the file PyLabRobot-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: PyLabRobot-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 129.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for PyLabRobot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 36e53242ff8720551c276d94844c23f217a2fcd08c05be2ec863c9449aff2721
MD5 0351f9102ccae0320192299e268c209e
BLAKE2b-256 14011511bf1b080ea0d86a8692af3574cfe8292407eef1b335f8c462e95b4d39

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