Skip to main content

Fun with computer-controlled experiments for beginners

Project description

Welcome to labphew!

labphew logo

labphew is a minimalist code and folder structure for developing a computer-controlled experiment in Python. The main purpose of Labphew is to provide a basis for those with little coding experience to build their own user-interface(s) for a piece of hardware or to control a measurement.

Python for the Lab


This project is heavily inspired by the instruction exercise written by Dr. Aquiles Carattino, the mastermind behind Python for the Lab. If you want to learn more (serious!) coding for lab automation with Python, check the excellent PTFL website or book him for a course.

Python for the Lab (PFTL) is a code architecture and a programming course for computer-controlled instrumentation. PTFL codes are designed following the MVC design pattern, splitting the code into Controllers for defining drivers, Models for specifying the logic of the experiment, and View for parking the GUI. PFTL was developed by Uetke to explain to researchers, through simple examples, what can be achieved quickly with little programming experience. The ultimate goal of this project is to serve as a reference place for people interested in instrumentation written in Python.

The labphew package


Currently, the labphew package contains more wishes than executable pieces. However you can use its framework as a (hopefully convenient) starting point to write your own code. Please note that this package is published under GNU General Public License v3.0.

Hello world with mouse clicks


How to contribute


The labphew roadmap is still incomplete. If your interests are aligned with the main purpose of this project and you want to get involved, you can send a few lines to Sanli.

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

labphew-0.3.1.tar.gz (74.5 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