Setting up a Python client