NEW: Platform in python API