A python api for indix