experimentor.config package

Submodules

experimentor.config.global_settings module

Global Settings

Settings that should be available to any experimentor project. If you are starting a new project, you can use the settings below as an example, and override the ones you think need to be overwritten. Especially things like:

  • EXPERIMENT_MODEL
  • EXPERIMENT_MODEL_INIT
  • START_WINDOW

The only variables that will be considered are those written all in CAPITAL LETTERS.

Module contents

Settings

Experimentor relies on some general settings in order to run. For example, one can specify the port at which the publisher or pusher connects, or the window which is the starting point for the user interface. We specify some global parameres at experimentor.config.global_settings, that can be overriden at runtime by specifying the environmental variable EXPERIMENTOR_SETTINGS_MODULE.

Only variables written in ALL CAPITAL LETTERS will be taken into account.

class experimentor.config.Settings(settings_module)[source]

Bases: object

Loads the global parameters and overrides them with those specified in the settings module of the project.