more python api static functions