Socket
Socket
Sign inDemoInstall

fpdf

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fpdf

Simple PDF generation for Python


Maintainers
1

Readme

pyfpdf: FPDF for python

PyFPDF is a library for PDF document generation under Python, ported from PHP (see FPDF <http://www.fpdf.org/>__ "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 easy to learn, extend and maintain.

Features:

  • Python 2.5 to 2.7 support (with experimental Python3 support)
  • Unicode (UTF-8) TrueType font subset embedding
  • Barcode I2of5 and code39, QR code coming soon ...
  • PNG, GIF and JPG support (including transparency and alpha channel)
  • Templates with a visual designer & basic html2pdf
  • Exceptions support, other minor fixes, improvements and PEP8 code cleanups

Installation Instructions:

To get the latest development version you can download the source code running:

::

   hg clone https://code.google.com/p/pyfpdf/ 
   cd pyfpdf
   python setup.py install

You can also install PyFPDF from PyPI, with easyinstall or from Windows installers. For example, using pip:

::

   pip install fpdf

Note: Python Imaging Library <http://www.pythonware.com/products/pil/>__ (PIL) is needed for GIF support. PNG and JPG support is built-in and don't require any external dependency.

Documentation:

  • Tutorial: https://code.google.com/p/pyfpdf/wiki/Tutorial
  • Reference Manual: https://code.google.com/p/pyfpdf/wiki/ReferenceManual (spanish translation available)

For further information, see the project site: https://code.google.com/p/pyfpdf/ or the GitHub mirror: https://github.com/reingart/pyfpdf

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc