Home

Awesome

pyfpdf: FPDF for Python

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 is easy to learn, extend and maintain.

Features:

Installation Instructions:

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

   git clone https://github.com/reingart/pyfpdf.git
   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: the Python Imaging Library (PIL) is needed for GIF support. PNG and JPG support is built-in and doesn't require any external dependency. For Python 3, Pillow - The friendly PIL fork is supported.

Documentation:

Documentation Status

For further information, see the project site: https://github.com/reingart/pyfpdf or the old Google Code project page https://code.google.com/p/pyfpdf/.