Skip to main content

A library for rapid development of dynamic and interactive online experiments in the social sciences.

Project description

Welcome to alfred3 zenodo

Alfred3 is a package for Python 3 offering experimenters in the social sciences a fast and easy way to create truly dynamic computer experiments for a wide range of applications.

Installation

If you have Python 3.7 or newer installed, just install alfred3 via pip

$ pip3 install alfred3

Documentation

Documentation and tutorials for alfred3's most important features is available here: Link to docs

Questions and Answers

We use GitHub Discussions. You can ask questions, share ideas, and showcase your work there. Do not hesitate to ask!

A "Hello, world" experiment

Creating a hello-world experiment is as easy as writing this script.py file. You can even do it in a simple text editor. Note that the file must be named script.py

import alfred3 as al
exp = al.Experiment()
exp += al.Page("Hello, world!", name="hello_world") 

To run the script, open a terminal and change the working directory to your experiment directory:

$ cd path/to/experiment

Next, simply execute the following command in the terminal::

$ alfred3 run

If you have Google Chrome installed on your machine, a browser window with the experiment opens automatically. Otherwise, open any webbrowser and visit http://127.0.0.1:5000/start to start the experiment.

Of course, this "Hello, world" experiment does not contain much content: Only a single page with a heading. To learn how to add content to an experiment, visit our tutorials: (to be filled)

Citation

If you are publishing research conducted using alfred3, the following citation is required:

Treffenstaedt, C., Brachem, J., & Wiemann, P. (2021). Alfred3 - A library for rapid experiment development (Version x.x.x). Göttingen, Germany: https://doi.org/10.5281/zenodo.1437219

If you want to use alfred3 and need more information, don't hesitate to contact us via alfred@psych.uni-goettingen.de.

alfred3 Mailing List

If you want to stay up to date with current developments, you can join our mailing list. We use this list to announce new releases and spread important information concerning the use of Alfred. You can expect to receive at most one mail per month.

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

alfred3-2.2.0b2.tar.gz (878.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alfred3-2.2.0b2-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file alfred3-2.2.0b2.tar.gz.

File metadata

  • Download URL: alfred3-2.2.0b2.tar.gz
  • Upload date:
  • Size: 878.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for alfred3-2.2.0b2.tar.gz
Algorithm Hash digest
SHA256 70c0e95a6084646da9e651097926ede30b2f12727dec2e546d1556c4a10ecb9e
MD5 05b3a6839243795cce178d0c63053f56
BLAKE2b-256 f4a1928d77abd1c35653097606d3a54c8bf2d26862e917974593e4f0afb3a5d0

See more details on using hashes here.

File details

Details for the file alfred3-2.2.0b2-py3-none-any.whl.

File metadata

  • Download URL: alfred3-2.2.0b2-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for alfred3-2.2.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a962f2bf241a6a13620fe447fb8f3b8ea26b26ca95a003a89e860f047d4b99a
MD5 ffaaaa54f16d614d53e9b4eb8990d1bf
BLAKE2b-256 33a65d122dbc09d7820b7f7995520c21ea8a74a7d66b693ac7b8cd15d3eee54b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page