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.

Source Distribution

pypdfml-0.1.0alpha.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pypdfml-0.1.0alpha.tar.gz.

File metadata

  • Download URL: pypdfml-0.1.0alpha.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypdfml-0.1.0alpha.tar.gz
Algorithm Hash digest
SHA256 f6d883085b5eb078fe03ff09a4a0d957ffdb19958d9809064684e19372bf739d
MD5 b9ebdc3b9b63617baaebf1a8c9ad724a
BLAKE2b-256 c9effdb4e6dbfa2053a50765675570bf5fa7f85923cec81261da457e740a1ed8

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