Set up Python for the case studies
Part of Data & Code.
The case study code runs on a reproducible Python environment managed with uv. You don’t install Python separately — uv installs the correct version and the exact packages from uv.lock in one step.
Two ways to start
- No install (recommended for starters): run everything in the browser with GitHub Codespaces — pre-configured, nothing to set up locally.
- Local setup: follow the Python setup guide (uv) — install uv, VS Code, and Git, then create the environment.
The setup guides are maintained alongside the code, so they always match the current version. See Data & Code for the datasets and folder setup.