# using python 3 pip install pynessie
When you install pynessie, you get the Python client along with a Python CLI. Configuration for both is covered in our reference for the command line interface.
To instantiate a client simply run
from pynessie import init client = init() # this will look for the client config as per above branches = client.list_branches() print(branches)
All endpoint options are available from this client.
Spark usage from Python¶
A common way to interact with Nessie is via Spark. You can read more about working with Nessie, Spark and Iceberg together on our Iceberg Client docs page.
API docs are hosted on readthedocs