Skip to main content

Simple XML wrapper for reportlab.

Project description

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](https://github.com/badzong/pypdfml/blob/master/pypdfml/templates/example.xml) generates this [PDF document](https://github.com/badzong/pypdfml/blob/master/example.pdf)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypdfml, version 0.1.0alpha
Filename, size File type Python version Upload date Hashes
Filename, size pypdfml-0.1.0alpha.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page