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.2.0rc2.tar.gz (49.0 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.2.0rc2-py2.py3-none-any.whl (74.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fpdf2-2.2.0rc2.tar.gz.

File metadata

  • Download URL: fpdf2-2.2.0rc2.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for fpdf2-2.2.0rc2.tar.gz
Algorithm Hash digest
SHA256 ca0fd75eaf0d199cb9e1c9b064cd396157deb59e0d441be4c98486a2c05c4089
MD5 c699ac7e2faa3ec06d4e765e05da64d2
BLAKE2b-256 b44d58f6426ecf0c63b63c4e816f8ca7654636ec83f6f6dc3706e6875e75017a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpdf2-2.2.0rc2-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for fpdf2-2.2.0rc2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d05893b20d4ab7e40092da4813941ef0c609692918ba85d71a05c858ee1d79a3
MD5 2a978d7778810acf5a71f3552538a47f
BLAKE2b-256 8899edf6abfeee3a5714bed3c5a65066fe0922ec99efc2942d90d58e540b4ec2

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