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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fpdf-1.7.2.tar.gz (39.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fpdf-1.7.2.win-amd64.exe (264.2 kB view details)

Uploaded Source

fpdf-1.7.2.win32.exe (236.5 kB view details)

Uploaded Source

File details

Details for the file fpdf-1.7.2.tar.gz.

File metadata

  • Download URL: fpdf-1.7.2.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fpdf-1.7.2.tar.gz
Algorithm Hash digest
SHA256 125840783289e7d12552b1e86ab692c37322e7a65b96a99e0ea86cca041b6779
MD5 a137bfe8d0604100262d0ff453cf65d2
BLAKE2b-256 37c6608a9e6c172bf9124aa687ec8b9f0e8e5d697d59a5f4fad0e2d5ec2a7556

See more details on using hashes here.

File details

Details for the file fpdf-1.7.2.win-amd64.exe.

File metadata

  • Download URL: fpdf-1.7.2.win-amd64.exe
  • Upload date:
  • Size: 264.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fpdf-1.7.2.win-amd64.exe
Algorithm Hash digest
SHA256 9542f6ad0791d673955da954a0cf3554a0affac79deab87bee06b9b4d4e60990
MD5 f61d551c767c61b982e13ed8df4eac78
BLAKE2b-256 1e800346df83d9abf881f7515fdd7bef44dcf49d34a8e8f321b063173c2324b1

See more details on using hashes here.

File details

Details for the file fpdf-1.7.2.win32.exe.

File metadata

  • Download URL: fpdf-1.7.2.win32.exe
  • Upload date:
  • Size: 236.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fpdf-1.7.2.win32.exe
Algorithm Hash digest
SHA256 0a94eb783ee933e32a44ad949a1aa6c3ca6fb35b608db53f8b216aec52fc1fb5
MD5 0eb7496ab6e9b9728cded034f74f740d
BLAKE2b-256 ead516d2b1d5bc231ed6a4b5e6b887ca391e3ab3b45fc8bcdfc2d6066f5bff40

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.7.2 This release

3 files

1.7

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page