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.0.4.tar.gz (46.8 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.0.4-py2.py3-none-any.whl (63.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: fpdf2-2.0.4.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15+

File hashes

Hashes for fpdf2-2.0.4.tar.gz
Algorithm Hash digest
SHA256 ea6b15e79fd68c178f18f918aa4b7c046efcc4ab79449d89190ea451b5d27adb
MD5 b4adfbb2480cac3ff7e7fdb29984b55d
BLAKE2b-256 7bf7355904b06b58dd5f2fc5b594d7e41ab6be5b7e899cd6d2989b3dc1ee491d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpdf2-2.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15+

File hashes

Hashes for fpdf2-2.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9feed25cf2b066f047efa46d9c1ac0a6758b0300952c0bc7b73a3276936880fb
MD5 72bf63cef3e1ee1432d0bc163937feb5
BLAKE2b-256 bd9ccf18275c39099623133c5e1303d8698773c0a1d48a87a8c0acf75eb2b7c9

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