Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple PDF generation for Python

Project Description

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 History

Release History

This version
History Node

1.7.2

History Node

1.7

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fpdf-1.7.2.tar.gz (39.5 kB) Copy SHA256 Checksum SHA256 Source Jan 21, 2015
fpdf-1.7.2.win32.exe (236.5 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jan 22, 2015
fpdf-1.7.2.win-amd64.exe (264.2 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jan 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting