Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reingart/pyfpdf
Simple PDF generation for Python (FPDF PHP port)
https://github.com/reingart/pyfpdf
Last synced: 2 days ago
JSON representation
Simple PDF generation for Python (FPDF PHP port)
- Host: GitHub
- URL: https://github.com/reingart/pyfpdf
- Owner: reingart
- License: lgpl-3.0
- Created: 2013-07-31T05:08:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T20:57:15.000Z (4 months ago)
- Last Synced: 2024-10-25T03:16:50.101Z (about 2 months ago)
- Language: Python
- Homepage: https://code.google.com/p/pyfpdf/
- Size: 2.38 MB
- Stars: 857
- Watchers: 42
- Forks: 521
- Open Issues: 138
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pdf - pyfpdf
README
pyfpdf: FPDF for Python
=======================PyFPDF is a library for PDF document generation under Python, ported from PHP
(see [FPDF][1]: "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.[1]: http://www.fpdf.org/
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](http://www.pythonware.com/products/pil/)
(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](https://github.com/python-pillow/Pillow) is
supported.Documentation:
--------------
[![Documentation Status](https://readthedocs.org/projects/pyfpdf/badge/?version=latest)](http://pyfpdf.rtfd.org)* [Read the Docs](http://pyfpdf.readthedocs.org/en/latest/)
* [FAQ](docs/FAQ.md)
* [Tutorial](docs/Tutorial.md) (Spanish translation available)
* [Reference Manual](docs/ReferenceManual.md)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/.