Skip to main content

PyFPDF is a library for PDF document generation under Python, ported from PHP (see FPDF “Free”-PDF, a well-known PDFlib-extension replacement with many examples, scripts and derivatives).

Compared with other PDF libraries, PyFPDF is simple, small and versatile, with advanced capabilities and easy to learn, extend and maintain.

Features:

  • Python 2.5 to 2.7 support (with experimental Python3 support)

  • Unicode (UTF-8) TrueType font subset embedding

  • Barcode I2of5 and code39, QR code coming soon …

  • PNG, GIF and JPG support (including transparency and alpha channel)

  • Templates with a visual designer & basic html2pdf

  • Exceptions support, other minor fixes, improvements and PEP8 code cleanups

Installation Instructions:

To get the latest development version you can download the source code running:

hg clone https://code.google.com/p/pyfpdf/
cd pyfpdf
python setup.py install

You can also install PyFPDF from PyPI, with easyinstall or from Windows installers. For example, using pip:

pip install fpdf

Note: Python Imaging Library (PIL) is needed for GIF support. PNG and JPG support is built-in and don’t require any external dependency.

Documentation:

For further information, see the project site: https://code.google.com/p/pyfpdf/ or the GitHub mirror: https://github.com/reingart/pyfpdf

Release files for fpdf 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fpdf 1.7.2
File Size Uploaded
fpdf-1.7.2.tar.gz 39.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for fpdf 1.7.2
File Interpreter ABI Platform
fpdf-1.7.2.win-amd64.exe Details
fpdf-1.7.2.win32.exe Details

Total release size: 540.2 kB

Release files / fpdf-1.7.2.tar.gz

Download URL fpdf-1.7.2.tar.gz
Size 39.5 kB
Tags Source
SHA-256 checksum
How to use checksums
125840783289e7d12552b1e86ab692c37322e7a65b96a99e0ea86cca041b6779
BLAKE2b-256 checksum
How to use checksums
37c6608a9e6c172bf9124aa687ec8b9f0e8e5d697d59a5f4fad0e2d5ec2a7556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fpdf-1.7.2.win-amd64.exe

Download URL fpdf-1.7.2.win-amd64.exe
Size 264.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9542f6ad0791d673955da954a0cf3554a0affac79deab87bee06b9b4d4e60990
BLAKE2b-256 checksum
How to use checksums
1e800346df83d9abf881f7515fdd7bef44dcf49d34a8e8f321b063173c2324b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fpdf-1.7.2.win32.exe

Download URL fpdf-1.7.2.win32.exe
Size 236.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0a94eb783ee933e32a44ad949a1aa6c3ca6fb35b608db53f8b216aec52fc1fb5
BLAKE2b-256 checksum
How to use checksums
ead516d2b1d5bc231ed6a4b5e6b887ca391e3ab3b45fc8bcdfc2d6066f5bff40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.7.2 This release

3 release files

1.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page