Skip to content

RayoPDF 0.3.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:49
· 264 commits to master since this release

Core archives of commit 18bf2a0, built by the Release workflow; SHA256SUMS lists their checksums. The OCR add-on's archives are built and attached by hand (CONTRIBUTING.md, Versions and releases).

What is new (record, release check)

  • --plain (no inline markup), --tables=html (every table as HTML) and --furniture=keep (running headers, footers and page numbers kept as text, never as headings): the conventions readers and benchmarks disagree on, opt-in; the default output stays faithful to the page.
  • --format=chunks: JSON Lines of heading-led chunks with their heading path, pages and boxes, for retrieval. --format=inspect: one HTML file that draws each page's lines and blocks in reading order, removed furniture struck through.
  • Python wheels (rayopdf-0.3.0-py3-none-manylinux_2_28_x86_64.whl, rayopdf-0.3.0-py3-none-win_amd64.whl; import rayopdf, LangChain and LlamaIndex loaders) and an npm package (rayopdf-0.3.0.tgz, WebAssembly for browsers and Node.js 18+) over a new C ABI (include/rayopdf/rayopdf_c.h). Attached here only, not published to PyPI or npm.
  • Titles, heading levels and page numbers read better: opendataloader-bench 0.909 → 0.915 (headings 0.874 → 0.890), 0.936 with the benchmark's own conventions (--images=none --furniture=keep --plain --tables=html); DocLayNet page furniture 0.590 → 0.595.
  • --math=latex: a tagged formula's LaTeX alternate text, binomials, over- and undersets, horizontal braces and scripts of scripts.
  • Every benchmark measured in its default output and in its declared options, two new suites (DocLayNet, OmniParseBench), and a strict quality gate: no metric of any development or validation suite may fall; the steps it kept out are listed in the record. No small model met the M9 criteria; none ships.
  • Speed as 0.2.0's within a point (warm 2,214 pages/s, fresh 0.900 ms on odl); the release binary is the bytes that were timed.

The container image: ghcr.io/butterski/rayopdf:0.3.0 (digest sha256:6f0fc24db8eedaf727bbb29f74bc1d4d6a6255a7ff552ad6d5c05c2420b33a8f).