A SVG and LateX template renderer from table data based on Inkscape and Jinja2.
Initially it was a conference badge creator based on SVG templates (https://github.com/PythonSanSebastian/pydger), 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 or a Google Spreadsheet 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.
- Inkscape 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:
pip install git+https://www.github.com/PythonSanSebastian/docstamp.git
To install the latest release:
pip install docstamp
requirements.txt file. Also you will need Inkscape, XeLatex, or PDFLatex
installed in your system.
DocStamp is compatible with Python 2 (we wish to believe) and 3. We could not test it on Windows.
New BSD license
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
- Moved CLI to click.
- Lost in History…
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Hash SHA256 Hash Help||Version||File Type||Upload Date|
(25.9 kB) Copy SHA256 Hash SHA256
|3.6||Wheel||Sep 24, 2017|
(19.7 kB) Copy SHA256 Hash SHA256
|–||Source||Sep 24, 2017|