Code Monkey home page Code Monkey logo

pyfpdf's Introduction

pyfpdf: FPDF for Python

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.

Features:

  • Python 2.5 to 3.4 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:

   git clone https://github.com/reingart/pyfpdf.git
   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: the Python Imaging Library (PIL) is needed for GIF support. PNG and JPG support is built-in and doesn't require any external dependency. For Python 3, Pillow - The friendly PIL fork is supported.

Documentation:

Documentation Status

For further information, see the project site: https://github.com/reingart/pyfpdf or the old Google Code project page https://code.google.com/p/pyfpdf/.

pyfpdf's People

Contributors

reingart avatar romankharin avatar eocasio avatar tsh356 avatar marcelotduarte avatar kalbermattenm avatar yanone avatar leoleozhu avatar craigahobbs avatar googlecodeexporter avatar jredrejo avatar larivact avatar leonelcamara avatar niphlod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.