Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Simple PDF generation for Python

Project description

Quick Start

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.

THIS VERSION IS AN UPDATED VERSION OF THE PyPI ‘fpdf’ PACKAGE.

Features:

  • Python 2.7 to 3.5 support
  • Unicode (UTF-8) TrueType font subset embedding
  • Internal/External Links
  • PNG, GIF and JPG support (including transparency and alpha channel)
  • Shape, Line Drawing
  • Cell/Multi-cell/Plaintext writing, Automatic page breaks

Installation Instructions:

To get the latest development version you can download the source code running (for troubleshooting and additional information, see the GitHub Repository: fpdf2)

git clone https://github.com/alexanderankin/pyfpdf.git
cd pyfpdf
python setup.py install

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

pip install fpdf2

Project details


Download files

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

Files for fpdf2, version 2.0.6
Filename, size File type Python version Upload date Hashes
Filename, size fpdf2-2.0.6-py2.py3-none-any.whl (72.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fpdf2-2.0.6.tar.gz (46.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page