Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple XML wrapper for reportlab
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pypdfml
.gitignore
README.md
example.pdf
requirements.txt
setup.py

README.md

pypdfml

Simple XML wrapper for reportlab with jinja2 support

Requirements

  • reportlab
  • PIL
  • jinja2 (optional)

Usage

from pypdfml import PyPDFML

pdf = PyPDFML('example.xml')

context = {
    'what': 'world'
}

pdf.generate(context)
pdf.save()

Examples

The following template generates this PDF document

Something went wrong with that request. Please try again.