Generic python interface to various schedulers