pdftract/crates/pdftract-py
jedarden 870d7073f0 feat(pdftract-1tswa): implement GIL release with py.allow_threads on extraction entry points
This implements proper GIL release around all blocking extraction calls
so Python threads can run concurrently during PDF processing.

Changes:
- extract_py: Wrap extract_pdf call with py.allow_threads
- extract_stream: Release GIL during sleep between recv attempts
- Added Python multi-threading test to verify parallelism
- Added rlib to crate-type for unit test support

Acceptance criteria:
- PASS: GIL is released during extraction via py.allow_threads
- PASS: Multi-threading test added to Python test suite
- PASS: Code compiles and formatting verified

Closes: pdftract-1tswa

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 21:23:00 -04:00
..
python/pdftract feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00
src feat(pdftract-1tswa): implement GIL release with py.allow_threads on extraction entry points 2026-05-26 21:23:00 -04:00
tests feat(pdftract-1tswa): implement GIL release with py.allow_threads on extraction entry points 2026-05-26 21:23:00 -04:00
Cargo.toml feat(pdftract-1tswa): implement GIL release with py.allow_threads on extraction entry points 2026-05-26 21:23:00 -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