Skip to content
Google Code Exporter edited this page Mar 18, 2015 · 1 revision

FPDF for python

Fork me on GitHub

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).

Latest Relesed Version: 1.7 (August 15th, 2012) - Current Development Version: 1.7.1

Main features

  • Easy to use (and easy to extend)
  • Many simple examples and scripts available in many languages
  • No external dependencies or extensions (optionally PIL for JPG support)
  • No installation, no compilation or other libraries (DLL) required
  • Small and compact code, useful for testing new features and teaching

This repository is a fork of the library original port by Max Pat, with the following enhancements:

  • Python 2.5 to 2.7 support (with experimental Python3 support)
  • Unicode (UTF-8) TrueType font subset embedding (Central European, Cyrillic, Greek, Baltic, Thai, Chinese, Japanese, Korean, Hindi and almost any other language in the world) New! based on sFPDF LGPL3 PHP version from Ian Back
  • Improved installers (setup.py, py2exe, PyPI) support
  • Barcode I2of5 and code39, QR code coming soon ...
  • PNG, GIF and JPG support (including transparency and alpha channel) New!
  • Exceptions support, other minor fixes, improvements and PEP8 code cleanups
  • Port of Tutorial and ReferenceManual (spanish translation available)

FPDF original features:

  • Choice of measure unit, page format and margins
  • Page header and footer management
  • Automatic page break
  • Automatic line break and text justification
  • Image, Colors and Links support
  • Page compression
  • Extensive Tutorial and complete online documentation

Installation

For your convenience, some installers include the optional "Free Unicode TrueType Font Pack" (96 TTF files, 16MB compressed). Please note that copyright restrictions may apply when embedding fonts.

Support

For community support, please fell free to fill an issue

For priority technical support, you can contact Mariano Reingart (current maintainer and project owner). Online payments accepted through PayPal.

Pre-paid priority tech support plans

Vendedor internacional

Clone this wiki locally