Skip to main content

Python module for managing experiment factory javascript experiment files, a psiturk battery, and virtual machines to host the compilation of these things.

Project description

# The Experiment Factory Python

Python module for managing [experiment factory javascript experiment files](https://github.com/expfactory/expfactory-experiments), a [psiturk battery](https://github.com/expfactory/expfactory-battery), and a [virtual machine](https://github.com/expfactory/expfactory-vm) to host the compilation of these things. We currently have support for just psiturk batteries, and other integrations will come shortly. You can use the functions to control these components, or just install the module and run to create an entire experiment using a web interface.

Please see our [documentation](http://expfactory.github.io/expfactory-python) for more complete details.

### Installation

pip install git+git://github.com/expfactory/expfactory-python.git

### Running to Generate a Battery Installation will place an executable, expfactory in your bin folder. To run the executable to open up a web interface to design your experiment:

expfactory

The web interface will take you through the following steps:

  • collection of experiment details

  • database connection validation

  • creation of local (folder) experiment, or deployment to AWS.

### Functions Provided If you want to use the library as a module, functions are provided that do the following.

###### experiment.py

  • validator for experiment format (json, etc) to add a new experiment

  • command line generation of new experiments

###### battery.py

  • functions to select a subset of experiments and generate a battery to run with psiturk

###### vm.py

  • functions for generating a new vm instance

  • should use functions from battery.py to select, create output, plug into vm, deploy

###### analysis.py

  • functions to do analyses, probably using db.py

###### db.py

  • functions for extracting stuff / working with database(s)

Project details


Release history Release notifications | RSS feed

This version

1.0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

expfactory-1.0.5.tar.gz (310.0 kB view details)

Uploaded Source

File details

Details for the file expfactory-1.0.5.tar.gz.

File metadata

  • Download URL: expfactory-1.0.5.tar.gz
  • Upload date:
  • Size: 310.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for expfactory-1.0.5.tar.gz
Algorithm Hash digest
SHA256 cb41ed66cd6082c0f3ed4bcbded5d10d621a18d8a13a8c4a6c404e4ea7c5c0b5
MD5 c31bf861b6063bd70d5b60478b528f8c
BLAKE2b-256 604349ab07803005e7395ad38de4020d6984795908755f832793399fa0d85df7

See more details on using hashes here.

Provenance

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