pdftract/crates/pdftract-py
jedarden fca8966f45 feat(pdftract-2nu0s): implement Python SDK contract conformance
Implements the Python SDK with all 9 contract methods, 8 exception
classes, type definitions, asyncio wrappers, and subprocess fallback.

Changes:
- Add Python wrapper module with extract, extract_text, extract_markdown,
  extract_stream, search, get_metadata, hash, classify, verify_receipt
- Add exception hierarchy: PdftractError base class with 7 subclasses
- Add dataclass type definitions: Document, Page, Span, Block, Match,
  Fingerprint, Classification, Metadata
- Add asyncio module with async wrappers for 4 long-running methods
- Add subprocess fallback for when native module fails to import
- Add conformance test runner under tests/test_conformance.py
- Update pyproject.toml with dynamic version from Cargo

Closes: pdftract-2nu0s
2026-05-24 08:55:11 -04:00
..
python/pdftract feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00
src feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00
tests feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00
Cargo.toml feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00
pdftract-py.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00
pyproject.toml feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00