TASKontrol is a framework for developing behavioral experiments.
It consists of modules written in Python and PySide (Qt for Python) for designing behavioral paradigms and providing a graphical user interface to control the experiments. It also includes software that runs on an Arduino Due to provide an interface for detecting external events and triggering stimuli.
TASKontrol was developed by Santiago Jaramillo and it is maintained by the Jaramillo Lab at the University of Oregon. The framework was largely inspired by systems such as BControl and the Linux+RTAI statemachine originally developed at Cold Spring Harbor Laboratory.
You can find the full documentation at: http://taskontrol.readthedocs.org