OId Python API