Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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)

Release files for pypdfml 0.1.0alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypdfml 0.1.0alpha
File Size Uploaded
pypdfml-0.1.0alpha.tar.gz 6.3 kB Details

Release files / pypdfml-0.1.0alpha.tar.gz

Download URL pypdfml-0.1.0alpha.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f6d883085b5eb078fe03ff09a4a0d957ffdb19958d9809064684e19372bf739d
BLAKE2b-256 checksum
How to use checksums
c9effdb4e6dbfa2053a50765675570bf5fa7f85923cec81261da457e740a1ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0alpha This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page