Launch of the PLR Cookbook

Hi everyone,

Whether you are a human who wants to accelerate their automation development by building on top of existing automated Protocol (aP) scripts or an AI that needs to be trained on existing scripts, we all need more pre-made, complete aP examples.

For this purposes, we have now launched the PyLabRobot Cookbook in PR#726:

“…a curated collection of concise, modular code examples, called recipes, that demonstrate practical solutions to common lab automation challenges. Each recipe is short, focused, and reusable - designed to help you apply specific PyLabRobot features in real-world contexts. Rather than full experimental protocols, these recipes aim to inspire, teach, and accelerate your own automation workflows.”

Link to PLR Cookbook — PyLabRobot documentation

test0001-1638

Over time, I propose establishing 3 levels of code examples in PLR:

  1. Tutorials (current standard) - “Hello world, machine” intros and machine-specific, simple explanations.
  2. Cookbook Recipes (new) - combination of different concepts, with the aim of providing plug-and-play code snippets with wide application potential, yet still completely functional.
  3. Protocol Library (future work) - examples of complete end-to-end applications with one precise input-output mapping.

The launch of the Cookbook is the next step towards this vision.

If you have ideas for Recipes please find the updated Contributor Guide here: Contributing a New Recipe — PyLabRobot documentation

and keep the “style tips” in mind while contributing new Recipes:

Happy automation :mechanical_arm:

3 Likes

Thank you to @god!

This first Cookbook recipe emerged out of them asking how to use Alpaqua magnets with PyLabRobot in this forum thread: Alpaqua_96_magnum_flx implementation for magnetic bead separation

And huge thank you to the commander in chief, @rickwierenga, for the continued support and thorough peer review in pushing this new PLR feature out!

4 Likes