python interface to DARTS