Python client library for the PDFRest service. The project is managed with uv and targets Python 3.9 and newer.
uvx nox -s examples
uv run nox -s run-example -- examples/delete/delete_example.pyuv sync
uv run python -c "import pdfrest; print(pdfrest.__version__)"To install the tooling used by CI locally, include the --group dev flag:
uv sync --group devIt is recommended to enable the pre-commit hooks after installation:
uv run pre-commit installRun the test suite with:
uv run pytestCheck per-function coverage for the client classes:
uvx nox -s class-coverageTo reuse an existing coverage/py<version>/coverage.json without rerunning
tests, add -- --no-tests (and optional --coverage-json path).
Run the docs site locally:
uv run mkdocs serveBuild the static documentation site:
uv run mkdocs build --strict