# opentronsfastapi
opentronsfastapi is a library that allows for FastAPIs to be easily deployed onto Opentrons liquid handling robots (OT2) with robotic protocols. The protocols can be parameterized, allowing complex robotic functions to take place. Communication is done over HTTP via a REST API, and execution of the protocols begins immediately, allowing the OT2 to work as part of a larger lab management system, or simply allowing the user to build a user interface that suits their needs better than the stock options Opentrons provides.
For example, a biofoundry might have the following components for successfully executing a protocol: 1. A job queue that lists the tasks to be done 2. A system-level execution manager that decides what job to do next and passes the job to an appropriate robot 3. A client on the robot that receives job requests and, if accepted, initiates execution on the robot 4. A low-level layer that converts job instructions to the acutation of motors
opentronsfastapi specifically helps with #3.
## Features opentronsfastapi - Allows API endpoints to be wrapped with a decorator for execution on an Opentrons robot - Manages robot state - if the robot is busy, then job requests are refused until the robot work is complete, and an error code is returned to the requestor - Can report the state of the robot to a requestor, via API endpoint - Can report the protocol version the robot will use, in the form of a unique hash, via an API endpoint - Allows the API to be accessed by any arbitrary tool, as long as POST requests are sent in the right format - Can be deployed on stock OT2’s without special tools - Works at the level of a single robot, and is naive of other robots. However, it can be deployed on multiple robots, which can then be managed by a supervisor.
# Contributors - Thank you Tim Dobbs for writing most of the README, adding essential wrappers, and generally bringing this project into reality.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentronsfastapi-0.0.1.tar.gz.
File metadata
- Download URL: opentronsfastapi-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4133c99ba284b7911a7129e34d89fda119a3b5aae02a8b420d7dea5eae2e2c35
|
|
| MD5 |
effafa6b9f618e97bd0bac1a0bf909f9
|
|
| BLAKE2b-256 |
895d912b11c5a908fb192803583272c8c115e1089aa9a0c358e0a90cf2cc431b
|
File details
Details for the file opentronsfastapi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: opentronsfastapi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d7670c9ea2999d902b6b276dc88c144c4c9e17871c59fea354e3043e70167d
|
|
| MD5 |
dbb9301b3c1ea9b1314eb1b9f58b948d
|
|
| BLAKE2b-256 |
c61ff3d8206a662b736fcc383c324e346e820dfa95a855b5c04569a5c0e6ba5f
|