Accelerate python interface