Skip to main content

Simple PDF generation for Python

Reason this release was yanked:

Please install fpdf2==2.0.6 for a less buggy experience.

Project description

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fpdf2-2.1.0.tar.gz (50.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fpdf2-2.1.0-py2.py3-none-any.whl (74.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fpdf2-2.1.0.tar.gz.

File metadata

  • Download URL: fpdf2-2.1.0.tar.gz
  • Upload date:
  • Size: 50.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for fpdf2-2.1.0.tar.gz
Algorithm Hash digest
SHA256 804d3a509934877cf83b84d96bf1db2e2823589f881b3cd074da14606b8f3280
MD5 704605a41e1500181bad17894f1a9896
BLAKE2b-256 c862b43efd67629f3ea9f429d95a0d32af0997a02f313a1f456b76f2d99e9263

See more details on using hashes here.

File details

Details for the file fpdf2-2.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: fpdf2-2.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for fpdf2-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51f9804be75a84b812c08847503db5169180ade00fa4e2314837dace7a79666e
MD5 2cf3e0b954003a04befe2bb5e289f995
BLAKE2b-256 a392e484ff46191ad097c422b0389a06d52036aacf33651cee7660580da7d360

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page