Initially it was a conference badge creator based on SVG templates, but we thought it could be more generic and have many other applications.
DocStamp is a generic template renderer which takes the data from a .CSV file and creates one rendered template file for each row of the data.
It is PDF centric, however it can also export in some cases to PNG.
It needs:
- Inkscape or rsvg-convert for .SVG templates, and
- PDFLateX or XeLateX for LateX templates.
The CSV header fields must match the ones in the template file.
docstamp create -i badge.csv -t badge_template.svg -o badges
To install the development version:
python -m pip install git+https://www.github.com/PythonSanSebastian/docstamp.git
To install the latest release:
python -m pip install docstamp
See setup.cfg
file. Also you will need Inkscape, XeLatex, or PDFLatex
installed in your system.
For unicode support in SVG exports, you need to install rsvg-convert
,
which is available in librsvg-bin
.
DocStamp is compatible with Python 2 (we wish to believe) and 3.
We could not test it on Windows.
- Alexandre M. Savio @alexsavio
- Oier Etxaniz @oechaniz
- Luis Javier Salvatierra @ljsalvatierra
- Haseeb Majid