python client lib