Skip to content

open source implementation for RML language (markup language for PDF generation) for Django

License

Notifications You must be signed in to change notification settings

johann2357/trml2pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open source implemenaton of RML (Report Markup Language) from ReportLab for Django

RML User Guide (or beginner tutorial)

Not all tags are supported, but most of them work.

Examples

Create a PDF file:

Use it as a python module:

	import trml2pdf
	print trml2pdf.parseString(file('file.rml','r').read())

This version 1.1 is only for Django, you can simply mark up an .rml file with the template system and then render it.

You have to define a variable called FONTS_DIR in your settings.py, pointing to the fonts location in your project ... and thats it!

About

open source implementation for RML language (markup language for PDF generation) for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%