Python API Guidance