Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 722 Bytes

File metadata and controls

40 lines (29 loc) · 722 Bytes

python-boilerplate

Dev

First setup:

curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync

cp .env.example .env

Make sure the .venv interpreter is correctly selected. Command Pallette: >Python: Select Interpreter -- python.defaultInterpreterPath

uv add <package>
uv run python src/script.py

Mainternance

uvx ruff check --select I --fix src/
uvx ruff format src/

uv add --upgrade <package>
uv lock --upgrade

Data

data/
├── raw/        # original source data, never edited
├── input/      # curated inputs used by analysis/modeling
├── processed/  # cleaned/intermediate datasets
└── output/     # final data outputs