python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install -e ".[dev,docs]".venv/bin/ruff check src examples tests
.venv/bin/python -m pytest -q.venv/bin/mkdocs serveRead the Docs builds from mkdocs.yml using .readthedocs.yaml.
Releases are intended to be published by GitHub Actions using PyPI Trusted Publishing.
- Update
CHANGELOG.md. - Update the version in
pyproject.toml. - Commit the release changes.
- Tag the commit with
vX.Y.Z. - Push the tag to GitHub.
The publish.yml workflow builds the sdist/wheel and publishes to PyPI.