pdf-processing

Installation
SKILL.md

PDF processing

Verified 2026-07-29. Library positions and licences change; re-check the licence before adopting any library named here — §1 explains why that is not a formality.

0. The framing that prevents most PDF mistakes

PDF is a print format, not a data format. It records where marks go on a page. It does not record paragraphs, reading order, table structure, or which number is a total. Everything downstream — extraction, tables, reading order — is reconstruction, and reconstruction is sometimes wrong.

Where the source data exists, use it instead of the PDF. A CSV export, an API, or the database behind the report will always beat parsing its printed output. Parse PDFs when the PDF genuinely is the only artefact — which, for invoices and statements arriving from third parties, it usually is.

1. Two traps that cause real damage

The licence trap

Installs
2
GitHub Stars
6
First Seen
Sep 28, 2026