Tagged with
Weasyprint
You probably started with a simple requirement. Generate an invoice. Export a report. Turn an HTML dashboard into a PDF attachment. On a laptop, that often looks easy. Then production gets involved. The same code that worked locally starts failing in a container, fonts render differently on a server, image paths break, or a headless browser bloats your deployment. If you're trying to generate PDF in Python for anything beyond a toy script, the hard part usually isn't Python. It's renderi
7 July 2026