Skip to content

PageLedger 0.5.0

Choose a tag to compare

@peterbussch peterbussch released this 11 Sep 20:23
· 295 commits to main since this release

PageLedger 0.5.0 adds document processing jobs that retain each extraction
attempt, produce a page-referenced transcript, and collect unresolved pages
for review.

  • process manages local text extraction, OCR and optional image-model stages
    under shared attempt, token and cost limits.
  • resume verifies saved page responses before reusing them. Requests with an
    unknown outcome stop for review instead of being called again automatically.
  • inspect-job, verify-job and review-job expose progress, check evidence
    and record human decisions tied to the source and selected output.
  • Image evidence records the source page, render or crop, hashes and adapter
    identity. The example transport supports configured Gemini and DeepSeek
    models through an OpenAI-compatible gateway.
  • The simplicity review removes duplicated execution and verification logic.
    It also fixes replay coverage checks, large-integer arithmetic, CSV error
    handling and strict policy thresholds.

The documentation now starts with tested examples for individual runs,
document jobs and recovery. Historical plans and local research reports have
been removed from the maintained documentation tree.

pip install pageledger==0.5.0
# Include PDF support when needed:
pip install "pageledger[pdf]==0.5.0"

Python 3.10 or later is required. Document jobs and resumable runs need a POSIX
system such as macOS or Linux. Scanned-PDF OCR also needs Poppler and Tesseract;
image-model adapters have their own optional dependencies.

Existing run artifact schemas remain at version 0.1. Core still depends only
on PyYAML. Verification checks recorded evidence; transcription accuracy and
unresolved pages still need review against the source.

The tagged source is 3a1aa9f482baff0bde2acebcad40f250aadad89d. Its development
tests use the documented dev,pdf environment. Two PDF-test dependency guards
were added to main after tagging so those tests skip when PDF support is
absent; the runtime and release packages are unchanged by that test correction.

See the documentation
and changelog.
SHA256SUMS identifies the attached distributions published to PyPI.