Development#
Using uv, prepare the venv:
uv sync --all-groups --all-extras
Run the tests:
uv run pytest
Build the Panel app (for inclusion in the docs):
uv run panel convert panel/app.py --to pyodide --out docs/_static/panel/
Build the docs:
uv run sphinx-build docs docs/_build/html
Check the version:
uv run stringcalc --version
After adding a new annotated version tag, you may need to touch one of the files in order for uv/hatch to detect that a rebuild is needed, or use:
uv run --reinstall-package stringcalc stringcalc --version