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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: fpdf2-2.2.0rc1.tar.gz
  • Upload date:
  • Size: 48.9 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 0a72228faa3f381817c87cdb90e39bfaed2cd7293950ef2e6330f6d8d87cdaff
MD5 5229e58b9f9969f10331dc14cd9ef17d
BLAKE2b-256 4d0e81092246659801896f73b0069cdbc243dd8bef5b6b77d680434fc3104cd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpdf2-2.2.0rc1-py2.py3-none-any.whl
  • Upload date:
  • Size: 73.8 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.0rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 622e7b916062c07cc35a03d9489cc540d47f4d7bad838bb50955cbcd467c7c90
MD5 8a42ecf9d85151f144ef3e721a6dd0ce
BLAKE2b-256 f44e64b0732e01bfc3342e68409dfac25d58b47ccf7556e6660212450312a66c

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