• Stars
    star
    857
  • Rank 53,206 (Top 2 %)
  • Language
    Python
  • License
    GNU Lesser Genera...
  • Created over 11 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple PDF generation for Python (FPDF PHP port)

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:

  • Python 2.5 to 3.4 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:

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

More Repositories

1

pyafipws

Factura Electrónica AFIP y otros servicios web (proyecto software libre) — Interfases, tools and apps for Argentina's gov't. webservices (soap, com/dll simil-ocx, pdf, dbf, xml, json, etc.) #python
Python
287
star
2

gui2py

Simple and powerful GUI framework for agile development
Python
69
star
3

pyfiscalprinter

Drivers for invoice/tickets fiscal printers (Epson & Hasar) Argentina - mirror of https://code.google.com/p/pyfiscalprinter/
Python
35
star
4

vb2py

Visual Basic to Python Converter (experimental fork)
Python
32
star
5

rad2py

Rapid Aplication Development platform for python (mirror)
Python
20
star
6

py_efactura_uy

Factura Electronica para DGI (Uruguay) implementación en python
Python
15
star
7

pymotw3

Fork of Doug Hellmann's Python Module of the Week https://bitbucket.org/dhellmann/pymotw-3/
Python
13
star
8

openerp_pyafipws

OpenERP module for Argentina's Electronic Invoicing and related webservices
Python
4
star
9

web2conf

Web2py / Python application for Conference Registration and Management.
Python
4
star
10

pymotw

Python Module of the Week (Spanish Translation)
Python
4
star
11

openerp_pyfiscalprinter

OpenERP module for Argentina's Fiscal Invoicing printers
Python
3
star
12

pypy

clone of https://bitbucket.org/pypy/pypy (Python in Python Implementation)
Python
2
star
13

pyfiscalprinter_googlecode

Automatically exported from code.google.com/p/pyfiscalprinter
Python
1
star
14

erplibre

Automatically exported from code.google.com/p/erplibre
Python
1
star
15

web2conf_googlecode

Automatically exported from code.google.com/p/web2conf
Python
1
star
16

support-tools

Automatically exported from code.google.com/p/support-tools
Python
1
star
17

dbg

Queues(Pipe)-based independent remote client-server Python Debugger
Python
1
star
18

cpython

CPython internationalization proposal
Python
1
star
19

gsoc2014

wxQt proof of concept app for android
Java
1
star
20

pyhtml2pdf

Component to export xhtml2pdf (pisa) conversor for legacy languages / apps
Python
1
star
21

gestionlibre

Automatically exported from code.google.com/p/gestionlibre
Python
1
star