Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

WeasyPrint

Converts HTML and CSS to PDF documents.

Files, images and media PyPI BSD PDF

Used in agent projects
12
0.7% of 1,622 Python repos built with AI coding agents; 91 counting our dependency samples
Gid Score
63 /100
#591 of 3,794 tools, #37 in files, images and media · ranking
Rank in files, images and media
#63 of 258
by use in those projects
Downloads
8.9M
PyPI, last 7 days, weasyprint
GitHub stars
9,709
898 forks · last push Oct 15, 2026

How WeasyPrint is used

WeasyPrint is a dependency in 12 of the 6,208 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 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 91 projects, and what it is used with below comes from all of them. The most used alternative in our scan is PyPDF (64 projects). Projects that use it most often also use python-dotenv (86.8%), Requests (79.1%), FastAPI (78.0%).

WeasyPrint popularity over time

Top tools by Gid Score

WeasyPrint: downloads per weekPyPI, weasyprint 8,633,328
WeasyPrint: GitHub starsKozea/WeasyPrint 9,709

Gid Score 63: downloads 84, use in agent projects 49, GitHub stars 50, downloads trend 57 (each 0-100). How it is calculated.

Often used with WeasyPrint

python-dotenv86.8% of WeasyPrint projects · 9.5× more than average
Requests79.1% of WeasyPrint projects · 11.6× more than average
FastAPI78.0% of WeasyPrint projects · 10.4× more than average
Pydantic75.8% of WeasyPrint projects · 8.8× more than average
Uvicorn75.8% of WeasyPrint projects · 9.9× more than average
OpenAI Python Library74.7% of WeasyPrint projects · 18.9× more than average
NumPy73.6% of WeasyPrint projects · 12.6× more than average
Pillow73.6% of WeasyPrint projects · 19.2× more than average

From all 91 projects in our scan that use WeasyPrint, including the dependency samples.

By coding agent

Claude Code0.2% of projects set up for it
GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list WeasyPrint as a dependency.

How WeasyPrint is funded

Most funded tools

Open Collective: CourtBouillon

Received, last 12 months$9,942 Oct 2025 – Sep 2026
Estimated annual budget€11,499 Open Collective's estimate
Balance$4,024
Raised since the start$62,071 · $58,047 paid out
Typical month median, last 12 months$766 · $863 over 24 months
Last 12 months vs the 12 before-23%
Contributors, last 12 months26

Top company backers all time, 25 companies in total

Spacinov€14,800 since Jan 2022
Kobalt€5,563 since Feb 2022
Grip Angebotssoftware€3,380 since Apr 2021
Simonsoft€2,160 since Oct 2020
Menutech€2,040 since Nov 2020

Oct 2021Sep 2026

Money by month, last five years. First money received in Oct 2020. The typical month is the median: one big one-off donation does not move it.

The same collective is named by 5 more tools in our catalog: cssselect2, Pyphen, pydyf, tinyhtml5, CairoSVG.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Europe. Source

Ways to fund WeasyPrint

Open Collective

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagepip install weasyprint
Main stacksPython (90), Next.js (1)
Example projectsassafelovic/gpt-researcher, VRSEN/OpenSwarm, sjtu-sai-agents/X-Master, GeotrekCE/Geotrek-admin, jaguarliuu/xunlong

Alternatives to WeasyPrint

All files, images and media

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside WeasyPrint are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
PyPDF pypi
Pure-Python library for reading, merging, splitting and transforming PDF files.
76 64 (3.9%) 38.8M 10.3K BSD-3-Clause
ReportLab pypi
Python library for generating PDFs and graphics programmatically.
65 26 (1.6%) 17.8M — BSD

More in Files, images and media: Sharp Pillow Nodemailer jsPDF SheetJS qrcode (JavaScript) JSZip openpyxl

Is WeasyPrint right for your project? Ask AgentGid →