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
Support
- forums.pylabrobot.org for questions and discussions.
- GitHub Issues for bug reports and feature requests.
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
Built Distribution
Hashes for PyLabRobot-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e53242ff8720551c276d94844c23f217a2fcd08c05be2ec863c9449aff2721 |
|
MD5 | 0351f9102ccae0320192299e268c209e |
|
BLAKE2b-256 | 14011511bf1b080ea0d86a8692af3574cfe8292407eef1b335f8c462e95b4d39 |