A SVG and LateX template renderer from table data based on Inkscape and Jinja2.
Project description
docstamp
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.
It needs:
Inkscape for .SVG templates, and
PDFLateX or XeLateX for LateX templates.
CLI Usage
The CSV header fields must match the ones in the template file.:
docstamp create -i badge.csv -t badge_template.svg -o badges
Installation
To install the development version:
pip install git+https://www.github.com/PythonSanSebastian/docstamp.git
To install the latest release:
pip install docstamp
Requirements
See requirements.txt file. Also you will need Inkscape, XeLatex, or PDFLatex installed in your system.
Compatibility
DocStamp is compatible with Python 2 (we wish to believe) and 3. We could not test it on Windows.
License
New BSD license
Contributors
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
Changelog
Version 0.3.5
Code style fixes.
setup.py now uses requirements.txt file to pick dependencies.
Fixed the Makefile.
Version 0.3.4
Bugfixes.
Version 0.3.3
Moved CLI to click.
Previous versions
Lost in History…
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file docstamp-0.3.5.tar.gz
.
File metadata
- Download URL: docstamp-0.3.5.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bf31275a1184b055d90efd1252258cb9886b15660dabb256d35d60ef9019c7 |
|
MD5 | a39daa050adae754c1c37bcd89b5e6d5 |
|
BLAKE2b-256 | 0b348dc3e09296114a3cd0f73184c9a08cc17d7d1b562f6da41f6121f4132727 |
File details
Details for the file docstamp-0.3.5-py2.py3-none-any.whl
.
File metadata
- Download URL: docstamp-0.3.5-py2.py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c0b0df205998c5dd62950f542217706a6fa68ca7cc47f45b12a3f35ada190fb |
|
MD5 | 60fbfa879d08eeb8cea5bbd8dea5d59d |
|
BLAKE2b-256 | 527093dac9fca929ae2310c6432ba921aaccbec48ffd4deca325c978a43c8ca8 |