Python API experiment