This repo contains a Jupyter notebook with example python code and shell commands that can be used to connect to a Ducklake format lakehouse running via UoE DataSync.
You can view the code online by navigating to the notebook file. To use your own credentials and edit and run the code interactively please follow the below instructions.
To run the example code you need to install uv for dependency management.
To view and run the example notebook locally in vscode:
- Clone this repository (e.g.
git clone https://github.com/cbility/uoe-lakehouse-connect-example) - Navigate to the project folder (e.g.
cd uoe-lakehouse-connect-example) - Install the environment (
uv sync) - Open the lakehouse-connect-example.ipynb file and execute a cell. You will be prompted to select a python interpreter - choose the one from the environment you just installed in the project folder.
- Browse the notebook. You can run cells (shortcut ctrl+enter), edit code and add new cells to experiment.