Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Decide is an event-driven state-machine framework for running behavioral experiments with embeddable computers like the Beaglebone Black. This repository is a Django app that collates event and trial data from multiple devices running decide version 3.0 or later. It replaces decide-host, which was a bit snazzier but becoming very difficult to maintain.

This should more or less be working but should be considered beta. You should continue to save trial information locally.

This software is licensed for you to use under the Gnu Public License, version 3. See COPYING for details

Quick start

  1. Install the package from source: python install. Worth putting in a virtualenv.

  2. Add decide_host to your INSTALLED_APPS setting like this:


You'll also need to add rest_framework and django_filters.

  1. Include the decide_host URLconf in your project like this::
url(r'^decide_host/', include(decide_host.urls')),
  1. Run python migrate to create the database tables.

  2. Start the development server and point your browser to to view records and inspect the API.

Importing trial data

If you have trial data in jsonl files that you'd like you import into the database, you can do this very easily. From your project site, run import_trials -n <name> -a <addr> trials.json. You need to supply the name of the controller (addr) and the procedure (name). The import will not happen if there's a duplicate in the database, so no need to worry about this.


Host with REST API for storing decide event and trial data



No releases published


No packages published