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 needs Inkscape for .SVG templates and PDFLateX or XeLateX for LateX templates.
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.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.3.tar.gz
.
File metadata
- Download URL: docstamp-0.3.3.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a9866df992facc8c7fcd55a2c17b6d3550817b6cbd23d37263895a08b123bb |
|
MD5 | 963adeb9c8d7b2f5cece5269213ece99 |
|
BLAKE2b-256 | 0f93c1d55444b12c6e3c3be9803e26059fd34fba4a771d775cb1690a6f8449e8 |
File details
Details for the file docstamp-0.3.3-py2.py3-none-any.whl
.
File metadata
- Download URL: docstamp-0.3.3-py2.py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe29eae40c88be53112cb547a9557522303ff7a98e8f70ca264b8a8566d0d23a |
|
MD5 | aaa793e9d1e05c4bbf214da717dde5fe |
|
BLAKE2b-256 | d8933897a3aae3c0df9389aa7daf3196017614cd9c80886bc5385f19882b67c9 |