Added Python "interface" for client-side API