Skip to content

Releases

pypdftomd v0.4.6

Choose a tag to compare

@github-actions github-actions released this 04 Dec 04:41
1f13d8b
  • Location probes (--find and --toc): add --find QUERY (find_in_pdf)
    for case-insensitive, whitespace-normalized text-layer search with whole-word
    snippets, matched_pages, and range-compressed searchable_pages /
    non_searchable_pages reporting, and --toc (get_pdf_toc) for reading
    embedded PDF outlines with 1-indexed physical pages. Both honor --pages,
    support batch inputs, emit raw UTF-8 JSON without writing files, and are
    exported from the top-level pypdftomd package (__all__, 41 exports).
  • --analyze upgrades: surface tabular_pages_needing_visual_verification
    directly in --analyze JSON output and compress assessed_pages to --pages
    range notation (e.g., "1-93" instead of a per-page array).
  • Short-PDF font-scan progress cadence: use a 4-page minimum stride for
    stderr font-scan progress lines so short PDFs emit cleaner progress matching
    4-page extraction chunks.
  • Agent skill & docs alignment: update skills/pypdftomd/SKILL.md,
    README.md, and docs/troubleshooting-hung-pdfs.md for --find, --toc,
    confidence, reasons, tabular_pages_needing_visual_verification,
    range-compressed assessed_pages, and issuer-IR / underwriter deal-docs PDF
    discovery.

Commit: 1f13d8b845d50d402acc96c912dd9e8c193592ae

Initial draft build and installed-wheel checks

pypdftomd v0.4.5

Choose a tag to compare

@github-actions github-actions released this 03 Dec 16:33
16f7ad4
  • Drop pdfminer.six runtime dependency: vendor the Adobe Glyph List 2.0
    table (src/pypdftomd/glyph_list.py, BSD-3-Clause) so base installs no
    longer pull pdfminer.six, cryptography, or charset-normalizer.
  • Input & resource bounds: validate --pages endpoints before range
    expansion, reject user-password-locked PDFs during preflight before cache or
    directory setup, and bound single-page raster allocations to 128 MiB.
  • OCR, cache & artifact hardening:
    • Scope OCR cache fingerprints to the selected engine so Tesseract lookups
      never import or spawn RapidOCR (and vice versa).
    • Publish cache payloads and metadata sidecars atomically with strict file
      descriptor ownership and temp-file cleanup.
    • Preserve Tesseract TSV word alignment on malformed, CRLF, or embedded-tab
      rows; deliver RapidOCR inputs cleanly and read result containers safely.
    • Scope forced-OCR embedded fallback retries to failed pages only while
      retaining embedded warnings.
    • Write pixmap fallback images and suffixless contact sheets as .png.
  • Diagnostics & typed public surface: keep warnings and MuPDF diagnostics
    off stdout when sys.stderr is absent, tighten warning marker prefix
    matching, ship py.typed with reconciled __all__ / __dir__() exports, and
    document options= precedence over scalar keyword arguments.
  • CI & documentation: pin GitHub Actions to commit SHAs with
    persist-credentials: false, pin twine==7.0.0, add Python 3.13 to CI,
    expand installed-wheel smoke and release-note tests, and align README.md,
    skills/pypdftomd/SKILL.md, and docs/troubleshooting-hung-pdfs.md with the
    shipped CLI and Python API.

Commit: 16f7ad455f102f92a8e02a906fa82e870d57524d

Initial draft build and installed-wheel checks

pypdftomd v0.4.4

Choose a tag to compare

@github-actions github-actions released this 02 Dec 23:41
c8aeda3
  • Salvage surviving pages when a parallel worker process dies mid-run. Keep
    completed chunks, retry each unconfirmed page once in an isolated single-page
    worker, and mark pages that still crash with embedded_extraction_failed or
    ocr_page_render_failed warnings. Lost pages appear under failed_pages in
    --json output and stderr summaries; degraded runs skip the cache and exit
    3 when --fail-on-warning is set.
  • Skip materializing embedded images during font pre-pass reads and during
    text reads on pages with dense tiled raster artwork (> 500 image ops),
    preventing multi-minute hangs on complex visual PDFs.
  • Report sorted 1-indexed dense_vector_pages (> 5000 vector ops) and
    dense_image_pages (> 500 image ops) in --analyze output and
    get_pdf_metadata(...)["extraction_assessment"] without changing OCR routing.
  • Print throttled progress lines to stderr during cold CLI runs (font
    scanning, page extraction, and OCR) unless --quiet is passed, leaving
    stdout as Markdown or JSON.
  • Speed up --analyze by sharing a single page read, capping glyph replay on
    large streams, and assessing only the pages selected by --pages. Also
    include page_count in --analyze JSON output.
  • Fix CLI and Python API option parity, shorten --help output, reduce
    unnecessary Markdown escaping, strip stray zero-width spaces, and refine
    rule-band table header detection.
  • Improve error reporting: include per-page warning counts on total failure,
    fall back to the exception class name when an error message is empty, and
    use consistent prefixes for locked-PDF errors.
  • Add a troubleshooting guide for slow, hung, or crashing PDFs
    and update skills/pypdftomd/SKILL.md with dense-artwork inspection and
    failed_pages recovery steps.

Commit: c8aeda33b7616e632c327889e85504da1b72a115

Initial draft build and installed-wheel checks

pypdftomd v0.4.1

Choose a tag to compare

@github-actions github-actions released this 02 Dec 05:48
74a272f
  • Refresh PyPI and GitHub presentation: add an above-the-fold Quickstart,
    include the Models / Runtime column in the benchmark comparison table,
    replace the raw Mermaid block with a PyPI-compatible text pipeline diagram,
    and ensure all README links are absolute.
  • Update PyPI package metadata (description, keywords, classifiers, and
    [project.urls], including the verified pypdftomd-bench repository link).
  • Add repository community health and hygiene files (CODE_OF_CONDUCT.md,
    feature request and issue chooser templates, .gitignore, .gitattributes),
    and document --tables-output in skills/pypdftomd/SKILL.md compatibility.
  • No extraction-pipeline or CLI behavior changes from 0.4.0.

Commit: 74a272fed76223815c29876400002e41c7174466

Initial draft build and installed-wheel checks

pypdftomd v0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:48
55389a2
  • Publish as pypdftomd on PyPI and GitHub Releases for Python 3.12 and later,
    with bounded runtime dependency ranges and headless OpenCV (opencv-python-headless)
    for [ocr-rapid].
  • Update runtime dependencies: Pillow (12.2.0 -> 13.0.0) and pypdf
    (6.12.1 -> 6.21.4).
  • Install the pypdftomd skill (skills/pypdftomd/, MIT-licensed) in coding
    agents via gh skill or npx skills.
  • Process multiple PDFs and directories, including recursive directory trees,
    with per-document reports or aggregate JSON output.
  • Use --fail-on-warning, --quiet, and --version for scripted workflows.
    Batch processing continues after a document fails and reports failures through
    its exit status.
  • Check OCR backend availability with --check-ocr, configure the Tesseract
    timeout, and control result caching with --cache-dir or --no-cache
    (PYPDFTOMD_CACHE_DIR).

Commit: 55389a227b10d2f5f09dff1a7db35bdd1b1959ce

Initial draft build and installed-wheel checks