A GUI-forward Python framework for automating experimental setups.
Project description
Puzzlepiece
Puzzlepiece is a GUI-forward Python framework for automating experimental setups. It focuses on abstracting communication with a piece of hardware into standard inputs, outputs, and actions. It then automatically generates GUI components for them, minimising the need for boilerplate code. Puzzlepiece allows the user to bring diverse controls into a single, consolidated application, and automate their interaction or experiment using a unified API, either through a built-in script language, or Interactive Python.
Check out the examples
folder for how to make an application (a Puzzle), and puzzlepiece/pieces/random_number.py
for a simple example Piece. A Piece is a module that does a particular job (talks to a laser, scans a value, ...), and multiple of these brought together make up a Puzzle.
Documentation is in progress, available at https://puzzlepiece.readthedocs.io/
Currently the main requirement is pyqtgraph
, and the code accesses whichever Python Qt bindings are installed through pyqtgraph
. Eventually the code is likely to be migrated to QtPy
.
Created by Jakub Dranczewski as part of PhD work supported by the EU ITN EID project CORAL (GA no. 859841).
Project details
Release history Release notifications | RSS feed
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 puzzlepiece-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b908aca2e0604b74306a6df8634a3012c4cf879ca37d02fe646b60d846e342f0 |
|
MD5 | 77eeb161f8d9d90782b7b2eb8c33bd26 |
|
BLAKE2b-256 | 2852a753d93be6db85cbc5fcc5b2b4658fa0a984d1c3920e84ba0ea9fe245ff2 |