a python client