--- layout: page title: "Home Assistant Python API" description: "Basic example of interacting with Home Assistant live from a Jupyter notebook using the Python API." date: 2016-07-23 09:00 sidebar: true comments: false sharing: true footer: true redirect_from: /ecosystem/notebooks/api/ --- You can interact with Home Assistant live from Jupyter notebooks by using the Home Assistant [Python API](/developers/python_api/). [See this example notebook](http://nbviewer.jupyter.org/github/home-assistant/home-assistant-notebooks/blob/master/home-assistant-python-api.ipynb).