Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.03 KB

File metadata and controls

61 lines (41 loc) · 1.03 KB

pdfrest

Python client library for the PDFRest service. The project is managed with uv and targets Python 3.9 and newer.

Running examples

uvx nox -s examples
uv run nox -s run-example -- examples/delete/delete_example.py

Getting started

uv sync
uv run python -c "import pdfrest; print(pdfrest.__version__)"

Development

To install the tooling used by CI locally, include the --group dev flag:

uv sync --group dev

It is recommended to enable the pre-commit hooks after installation:

uv run pre-commit install

Run the test suite with:

uv run pytest

Check per-function coverage for the client classes:

uvx nox -s class-coverage

To reuse an existing coverage/py<version>/coverage.json without rerunning tests, add -- --no-tests (and optional --coverage-json path).

Documentation

Run the docs site locally:

uv run mkdocs serve

Build the static documentation site:

uv run mkdocs build --strict