Skip to main content

Simple PDF generation for Python

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.0rc1.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.0rc1-py2.py3-none-any.whl (74.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: fpdf2-2.1.0rc1.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/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for fpdf2-2.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 3b23a256a649835b6c87b4042329290497b6a8ef09ef3dd5c09dacf98d0905e1
MD5 4403460b3737407b42f13942bbfa6d0c
BLAKE2b-256 bb90895d907f5c026a92a8a2055db9dd7723b2c572c84d03effe358ab475cd01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpdf2-2.1.0rc1-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.9 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/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for fpdf2-2.1.0rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 28760425c40d7a065b092392181539a6a34e970758e41900915f8c4a16ca3c23
MD5 bb75a1ed1621bad3a0c4bc72756f9940
BLAKE2b-256 003c3914a29eb3c096c85c3ff36d5729d62301c1b289419fbd553971ddf7c418

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