Python library for instrumentation control