Skip to main content

pyfpdf: FPDF for Python

This is a fork of the PyFPDF library and fixes unicode issues. It allows usage of non-latin-1 characters (e.g. Euro sign €) in Python 3. This is possible by internally using a bytearray output buffer instead of a string (and should also be more efficient). This library is used by reportbro-lib (see also ReportBro).

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.7 and 3.5+ 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:

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

pip install reportbro-fpdf

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

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

Metadata

Release files for reportbro-fpdf 1.7.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for reportbro-fpdf 1.7.11
File Interpreter ABI Platform Actions
reportbro_fpdf-1.7.11-py2.py3-none-any.whl Python 2, Python 3 none any Details for reportbro_fpdf-1.7.11-py2.py3-none-any.whl

Release files / reportbro_fpdf-1.7.11-py2.py3-none-any.whl

Download URL reportbro_fpdf-1.7.11-py2.py3-none-any.whl
Size 46.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5a8c9f38758b195b82404152aae2753889a0a82be74d8f45d305a311c554864f
BLAKE2b-256 checksum
How to use checksums
d19875a2e64abda6ce533289edf9a23ccb417f9d1e124da29a78e23e5ef6b664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/2.7.17

Security for reportbro-fpdf 1.7.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page