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

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.2.tar.gz (309.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for expfactory-1.0.2.tar.gz
Algorithm Hash digest
SHA256 76e72c01075b67f360a9018a2f648eef98f7eb91818c662ee7400144f8d734b0
MD5 55450342b65d2c3c7ce3848d5bff3a0a
BLAKE2b-256 a587affc5c88c4e27ad7f51749ac44c58d53a751fc2322314bebe917a86eb230

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