Experiment framework for python