Install
One command. The package is on PyPI today.
pip install pdfluent==1.0.0Smoke test
Open a PDF, print the page count. The example below is the smallest useful program — copy, paste, run.
python
import pdfluent
doc = pdfluent.open("invoice.pdf")
print(f"{doc.page_count()} pages")What this is good for
- Data and document pipelines
- Batch processing of invoices, archives, and statements
- Notebooks and scripted automation
Current limitations
This list is honest, not exhaustive. The site-wide list lives at Known limitations.
- Pre-built wheels target common architectures; some platforms may need a build-from-source step.
- XFA rendering fidelity is improving alongside the Rust core; complex dynamic forms may render with visual deltas.
Licensing
PDFluent is published under the AGPLv3 and is complete under it. A yearly commercial licence removes the obligation to publish your own source; nothing in the build differs and nothing is activated, so a lapsed licence breaks nothing you have shipped. Details on the licensing page.