Most general outline of the python side of the instrumentation