{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/2"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"},{"label":"Printing","url":"https://skillfed.io/packages/category/printing"},{"label":"Presentation","url":"https://skillfed.io/packages/category/multimedia-graphics-presentation"}],"enrichment":{"capability":"fpdf2 generates PDF documents programmatically in Python, supporting text, images, tables, barcodes, and basic HTML conversion with Unicode font embedding.","skillfed_tags":["pdf-generation","document-creation"],"use_cases":["Generate invoices, receipts, or reports on-the-fly in web applications without external services.","Batch-create templated PDFs (certificates, letters, forms) from data using the templating system.","Embed images, barcodes, or charts into dynamically generated documents.","Convert HTML content to PDF for archival or distribution.","Add document encryption or digital signatures for secure PDF delivery."],"what_it_does":"fpdf2 is a pure-Python PDF generation library that lets you build PDF documents programmatically by adding pages, text, images, tables, and other content. It handles Unicode text with TrueType font embedding, supports internal and external links, can embed images with transparency, and includes features like barcodes, charts, document encryption, and basic HTML conversion. The library depends on Pillow for image handling, fonttools for font subsetting, and defusedxml for safe XML parsing.\n\nIt's designed to be fast and easy to learn, with a straightforward API: create a FPDF object, add pages, set fonts, write content, and output to a file. The project is mature and actively maintained, supporting Python 3.10 and later. It includes over 1300 unit tests and is widely used in web applications.","worth_installing":"Yes. fpdf2 is a mature, actively maintained library with low install friction (three lightweight dependencies), no known vulnerabilities, and broad Python version support (3.10+). It's well-suited for straightforward PDF generation tasks. The LGPL-3.0 copyleft license requires that derivative works remain open-source, which is a consideration for proprietary projects but not a barrier for most use cases."},"id":"fpdf2","links":{"html":"https://skillfed.io/packages/fpdf2","md":"https://skillfed.io/packages/fpdf2.md","pypi":"https://pypi.org/project/fpdf2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-09","license_spdx":"LGPL-3.0-only","license_treatment":"copyleft","name":"fpdf2","python_support":"supports_current","summary":"Simple & fast PDF generation for Python"},"popularity":{"monthly_downloads":19110259,"position":1074,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.8.8"}
