Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyfpdf: FPDF for Python

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

Documentation:

For further information, see:

Metadata

Release files for fpdf2 2.1.0rc1

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

Source distribution (sdist)

Source distribution for fpdf2 2.1.0rc1
File Size Uploaded Provenance Actions
fpdf2-2.1.0rc1.tar.gz 50.2 kB Without provenance Details for fpdf2-2.1.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fpdf2 2.1.0rc1
File Interpreter ABI Platform Actions
fpdf2-2.1.0rc1-py2.py3-none-any.whl Python 2, Python 3 none any Details for fpdf2-2.1.0rc1-py2.py3-none-any.whl

Total release size: 125.1 kB

Release files / fpdf2-2.1.0rc1.tar.gz

Download URL fpdf2-2.1.0rc1.tar.gz
Size 50.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b23a256a649835b6c87b4042329290497b6a8ef09ef3dd5c09dacf98d0905e1
BLAKE2b-256 checksum
How to use checksums
bb90895d907f5c026a92a8a2055db9dd7723b2c572c84d03effe358ab475cd01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

Release files / fpdf2-2.1.0rc1-py2.py3-none-any.whl

Download URL fpdf2-2.1.0rc1-py2.py3-none-any.whl
Size 74.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
28760425c40d7a065b092392181539a6a34e970758e41900915f8c4a16ca3c23
BLAKE2b-256 checksum
How to use checksums
003c3914a29eb3c096c85c3ff36d5729d62301c1b289419fbd553971ddf7c418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

Security for fpdf2 2.1.0rc1

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.

Release history Release notifications | RSS feed

This release
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