Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

PDF Python Packages

Python packages with the GitHub topic pdf. Sorted by monthly downloads, with stars and forks.
py-pdf
pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

216.2M 10K 2K
pymupdf
pymupdf

Layout-aware document engine for AI and a feature-rich Python toolkit for extracting, rendering and editing PDFs and other documents. Since version 2.0, its ML-based layout analysis turns PDFs and Office files into high-quality Markdown for RAG and agents, running fast on CPU and grounding every result to its source page.

184.7M 11K 856
pypdfium2-team
pypdfium2

Python bindings to PDFium, reasonably cross-platform.

129.8M 873 55
pdfminer
pdfminer-six

Community maintained fork of pdfminer - we fathom PDF

83.3M 7K 1K
jsvine
pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.

72.8M 11K 960
Kozea
weasyprint

The awesome document factory

44.2M 10K 912
CourtBouillon
pydyf

A low-level PDF creator

42.5M 158 15
py-pdf
fpdf2

Simple PDF generation for Python

29.8M 2K 376
microsoft
markitdown

Python tool for converting files and office documents to Markdown.

21.7M 199K 15K
Belval
pdf2image

A python module that wraps the pdftoppm utility to convert PDF to PIL Image object

20.5M 2K 212
Kozea
cairosvg

Convert your vector images

18.2M 959 172
py-pdf
pypdf2

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

15.4M 10K 2K
pikepdf
pikepdf

A Python library for reading and writing PDF, powered by QPDF

14.7M 3K 241
deeplook
svglib

Read SVG files and convert them to other formats.

5.9M 373 98
MatthiasValvekens
pyhanko

pyHanko: sign and stamp PDF files

5.9M 808 121
MatthiasValvekens
pyhanko-certvalidator

pyHanko: sign and stamp PDF files

5.7M 808 121
docling-project
docling-slim

Get your documents ready for gen AI

4.9M 71K 5K
docling-project
docling

Get your documents ready for gen AI

4.4M 71K 5K
JessicaTegner
pypandoc-binary

Thin wrapper for "pandoc" (MIT)

4.1M 1K 122
JessicaTegner
pypandoc

Thin wrapper for "pandoc" (MIT)

4.1M 1K 122
xhtml2pdf
xhtml2pdf

A library for converting HTML into PDFs using ReportLab

3.9M 2K 656
Unstructured-IO
unstructured

Convert documents to structured data effortlessly. Unstructured is open-source ETL solution for transforming complex documents into clean, structured formats for language models. Visit our website to learn more about our enterprise grade Platform product for production grade workflows, partitioning, enrichments, chunking and embedding.

2.6M 16K 1K
pymupdf
pymupdfb

Layout-aware document engine for AI and a feature-rich Python toolkit for extracting, rendering and editing PDFs and other documents. Since version 2.0, its ML-based layout analysis turns PDFs and Office files into high-quality Markdown for RAG and agents, running fast on CPU and grounding every result to its source page.

2.2M 11K 856
chezou
tabula-py

Simple wrapper of tabula-java: extract table from PDF into pandas DataFrame

1.9M 2K 303
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology