Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,43 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Python 3",
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "curl -sSL https://install.python-poetry.org | python3 - && poetry install",
"postCreateCommand": "curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME/.local/bin:$PATH\" && uv sync",

// Environment variables
"containerEnv": {
"UV_CACHE_DIR": "${containerWorkspaceFolder}/.uv-cache"
},

"customizations": {
"vscode": {
"extensions": [
"ms-toolsai.jupyter",
"ms-python.python",
"ms-toolsai.jupyter"
]
"ms-python.pylint",
"ms-python.black-formatter",
],
"settings": {
"files.exclude": {
".uv-cache": true
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {}
}

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}
937 changes: 452 additions & 485 deletions notebooks/example_1_land_registry.ipynb

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions notebooks/example_2_onelake.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 1,
"id": "306474d6",
"metadata": {},
"outputs": [],
Expand All @@ -38,7 +38,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 2,
"id": "73eb6dbc",
"metadata": {},
"outputs": [],
Expand All @@ -55,7 +55,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 3,
"id": "785573ac",
"metadata": {},
"outputs": [],
Expand All @@ -65,7 +65,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 4,
"id": "b11716ba",
"metadata": {},
"outputs": [],
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 5,
"id": "a26cb780",
"metadata": {},
"outputs": [],
Expand All @@ -99,7 +99,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 6,
"id": "4014d28e",
"metadata": {},
"outputs": [],
Expand All @@ -113,7 +113,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 8,
"id": "cfe15589",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -158,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 9,
"id": "e3116210",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -235,7 +235,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 10,
"id": "0af4f713",
"metadata": {},
"outputs": [],
Expand All @@ -253,7 +253,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 11,
"id": "ca8f6510",
"metadata": {},
"outputs": [
Expand All @@ -268,7 +268,7 @@
"└─────────┘"
]
},
"execution_count": 21,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -279,22 +279,22 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 12,
"id": "725e1eb4",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"┌─────────┬─────────┬──────────────────┬────────────┬────────────┬──────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐\n",
"│ name │ type │ provider │ persistent │ storage │ scope │ secret_string │\n",
"│ varchar │ varchar │ varchar │ boolean │ varchar │ varchar[] │ varchar │\n",
"├─────────┼─────────┼──────────────────┼────────────┼────────────┼──────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤\n",
"│ onelake │ azure │ credential_chain │ true │ local_file │ [azure://, az://, abfss://, abfs://] │ name=onelake;type=azure;provider=credential_chain;serializable=true;scope=azure://,az://,abfss://,abfs://;account_name=onelake;chain=cli │\n",
"└─────────┴─────────┴──────────────────┴────────────┴────────────┴──────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘"
"┌─────────┬─────────┬──────────────────┬────────────┬────────────┬──────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐\n",
"│ name │ type │ provider │ persistent │ storage │ scope │ secret_string │\n",
"│ varchar │ varchar │ varchar │ boolean │ varchar │ varchar[] │ varchar │\n",
"├─────────┼─────────┼──────────────────┼────────────┼────────────┼──────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤\n",
"│ onelake │ azure │ credential_chain │ true │ local_file │ ['azure://', 'az://', 'abfss://', 'abfs://'] │ name=onelake;type=azure;provider=credential_chain;serializable=true;scope=azure://,az://,abfss://,abfs://;account_name=onelake;chain=cli │\n",
"└─────────┴─────────┴──────────────────┴────────────┴────────────┴──────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘"
]
},
"execution_count": 22,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -305,7 +305,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 13,
"id": "1500abc5",
"metadata": {},
"outputs": [],
Expand All @@ -324,7 +324,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 14,
"id": "74bacf49",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -363,7 +363,7 @@
"└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘"
]
},
"execution_count": 24,
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -401,7 +401,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "endjin-duckdb-examples-a5MKY_F3-py3.12",
"display_name": "endjin-duckdb-examples",
"language": "python",
"name": "python3"
},
Expand All @@ -415,7 +415,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.8"
"version": "3.14.0"
}
},
"nbformat": 4,
Expand Down
Loading