Purse python client