To set up Panvoy, you need the Python project management tool uv.
To install uv, see its installation instructions.
To verify uv is working, run:
uvTo see a list of available tasks, run: uv run poe tasks
To execute Panvoy, run:
uv run poe cliTo execute the tests, run:
uv run poe testsTo execute a single test, run e. g.:
uv run poe tests -vv tests/test_api.py::test_parse_jrpn_urlTo execute the linter, run:
uv run poe linterTo check the code base for formatting style violations that are not covered by the linter, run:
uv run poe formatcheckTo execute the static type check, run:
uv run poe typecheckIf you have act installed and a Docker daemon active, run:
actTo generate project documentation (HTML and man page), run:
uv run poe docTo open the generated HTML documentation in your browser, run:
uv run poe htmlTo open the generated manual page in your terminal, run:
uv run poe manIf you get errors after a Git pull, refresh your dependencies:
uv syncTo check Panvoy’s dependencies for compatible updates, run:
uv lock -U --dry-runTo update the doc/requirements.txt file for Read the Docs, run:
uv export --only-group doc --output-file doc/requirements.txt