Python client