Python interface for dart