psyflow is a small framework that helps build modular cognitive and behavioural experiments on top of PsychoPy. It bundles a collection of helper classes and utilities so you can focus on experimental logic rather than boilerplate.
- BlockUnit - manage blocks of trials and collect results
- StimUnit - present a single trial and log responses
- StimBank - register and build stimuli from Python functions or YAML definitions
- SubInfo - gather participant information via a simple GUI
- TaskSettings - central configuration object for an experiment
- TriggerSender - send triggers to external devices (e.g. EEG/MEG)
The package also provides command line tools:
psyflow initto scaffold a new project from the bundled templatepsyflow qato run static checks and (optionally) a scripted-input smoke runpsyflow simto run simulation mode with responder plugins
Comprehensive documentation and tutorials are available on the psyflow website.
- Python >= 3.10
See ChangLog.md.
This project is licensed under the MIT License.