Development
Initial setup
Initialize virtual environment
pip install uv
uv venv
source .venv/bin/activate
uv sync
pre-commit install
Running unit tests
Running unit tests
uv run pytest
Building documentation
Running documentation
sphinx-autobuild doc/source/ doc/build
VSCode setup
Install recommended extensions
- Point vscode to the virtual environmenet managed by uv (.venv)
> Python: Select Interpreter
- Choose which cli to debug:
> Debug: Select and Start Debugging
F5 starts debugging
Dependencies
Installing Python 3.10+
If you don’t already have Python 3.10+ installed, you can download it from the official Python website: <https://www.python.org/downloads/>. Follow the installation instructions for your operating system.
Installing VSCode
To install VSCode, follow the instructions at <https://code.visualstudio.com/docs/setup/setup-overview>.
Installing recommended extensions in VSCode
See https://code.visualstudio.com/docs/editor/extension-marketplace#_recommended-extensions