This project uses uv for virtual environment management. If you are new to uv, you can find the quickstart guide here.
We also utilise direnv via the .envrc file to automatically:
- Import your environment variables from
.env - Activate your virtual environment (only if you comment out the relevant lines in
.envrc)
After installing direnv and uv on your system (we recommend doing this via brew on macOS), you must run the following commands in your terminal to set up the project:
direnv allow
uv sync
uv run pre-commit install --install-hooksTechnical and working style guidelines
Project based on Nesta's data science project template (Read the docs here).