Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

fpdf2

Pure-Python PDF generation: text, images, tables and HTML snippets into new PDF files.

Files, images and mediaPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/py-pdf/fpdf2

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What fpdf2 does

Pure-Python PDF generation: text, images, tables and HTML snippets into new PDF files.

fpdf2 popularity

53 / 100
Gid Score, #1616 overall
7.2M
downloads a week, pypi
1,560
GitHub stars
8
agent projects use it
fpdf2: downloads per weekPyPI, fpdf2 6,861,057
fpdf2: GitHub starspy-pdf/fpdf2 1,560

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How fpdf2 is used

  • fpdf2 is a dependency in 8 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 50 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is PyPDF (67 projects).
  • Projects that use it most often also use python-dotenv (76.0%), pandas (58.0%), Pydantic (54.0%).

By coding agent

7 projects, 0.2%

Often used with

In 76.0% of its projects
In 58.0% of its projects
In 54.0% of its projects
In 54.0% of its projects
In 54.0% of its projects
In 50.0% of its projects
In 46.0% of its projects
In 40.0% of its projects

More about fpdf2

More in Files, images and media

Alternatives

fpdf2 This page

LGPL-3.0-onlyGid 537.2M/wk

PyPDF

Pure-Python library for reading, merging, splitting and transforming PDF files.

BSD-3-ClauseGid 7852.8M/wk

PyMuPDF

High-performance library for PDF extraction, conversion and manipulation.

Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial LicenseGid 7943.7M/wk

ReportLab

Python library for generating PDFs and graphics programmatically.

BSDGid 7025.4M/wk

Compare fpdf2 with another tool

Get started

Install it.

pip install fpdf2

No step-by-step start for fpdf2 yet: we have not written its hand-checked card.