{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Extracts plain text or structured blocks, lines, and spans from PDFs via a command-line tool or Python API, built on pypdfium2 with Apache licensing.","skillfed_tags":["pdf-extraction","text-mining","document-parsing"],"use_cases":["Batch convert PDFs to plain text or JSON for downstream NLP and document analysis pipelines.","Extract structured block and line data with font info and bounding boxes for document layout analysis or OCR-free text mining.","Parse encrypted PDFs with password support in automated workflows.","Extract text from specific page ranges or use parallel workers to speed up extraction on large document collections.","Build a PDF text extraction service that avoids AGPL licensing constraints of PyMuPDF."],"what_it_does":"PDFText is a Python library and CLI tool that extracts text from PDFs in plain-text or structured JSON format, grouping content into pages, blocks, lines, and spans with font metadata and bounding boxes. It wraps pypdfium2, a fast and accurate PDF rendering library, and offers an Apache-licensed alternative to PyMuPDF for extraction tasks that do not require AGPL compliance.\n\nYou can use it as a command-line tool to convert PDFs to text files or JSON, or call its extraction functions directly from Python code. It supports encrypted PDFs, page ranges, parallel extraction via process workers, and optional reading-order sorting. The library handles CJK, Cyrillic, Greek, and other left-to-right scripts correctly; right-to-left scripts are returned in the order pdfium reports them, which may differ from logical reading order.","worth_installing":"Yes. Active maintenance, low install friction, Apache licensing, no known vulnerabilities, and strong extraction accuracy (97.54% alignment vs. PyMuPDF on benchmarks) make this a solid choice for PDF text extraction. Install if you need structured extraction with font metadata, want to avoid AGPL, or prefer pypdfium2's architecture. Not suitable if you require right-to-left bidi reordering or need thread-safe extraction without process workers."},"id":"pdftext","links":{"html":"https://skillfed.io/packages/pdftext","md":"https://skillfed.io/packages/pdftext.md","pypi":"https://pypi.org/project/pdftext/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-08","license_spdx":null,"license_treatment":"permissive","name":"pdftext","python_support":"supports_current","summary":"Extract structured text from pdfs quickly"},"popularity":{"monthly_downloads":555402,"position":6027,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.1"}
