A SVG and LateX template renderer from table data based on Inkscape and Jinja2.
Project description
docstamp
======
.. image:: https://pypip.in/v/docstamp/badge.png
:target: https://pypi-hypernode.com/pypi/docstamp
:alt: Latest PyPI version
.. image:: ''.png
:target: ''
:alt: Latest Travis CI build status
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 -i registrations.csv -t my_template.svg -f name -f surname -o out_folder -n talk_certificate --idx 10
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
------------
.. include:: ./requirements.txt
:literal:
gspread
Pillow
jinja2
Compatibility
-------------
DocStamp is compatible with Python 2 and 3. I could not test it on Windows.
Licence
-------
New BSD license
Authors
-------
The author of `docstamp` is `Alexandre M. Savio @alexsavio`_.
Contributors:
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
======
.. image:: https://pypip.in/v/docstamp/badge.png
:target: https://pypi-hypernode.com/pypi/docstamp
:alt: Latest PyPI version
.. image:: ''.png
:target: ''
:alt: Latest Travis CI build status
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 -i registrations.csv -t my_template.svg -f name -f surname -o out_folder -n talk_certificate --idx 10
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
------------
.. include:: ./requirements.txt
:literal:
gspread
Pillow
jinja2
Compatibility
-------------
DocStamp is compatible with Python 2 and 3. I could not test it on Windows.
Licence
-------
New BSD license
Authors
-------
The author of `docstamp` is `Alexandre M. Savio @alexsavio`_.
Contributors:
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
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
docstamp-0.3.0.tar.gz
(18.3 kB
view details)
Built Distribution
File details
Details for the file docstamp-0.3.0.tar.gz
.
File metadata
- Download URL: docstamp-0.3.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9389f5f9fcf169b4bace7badf4a355d56ef5b39565dc3633cf3d61225ffb6bc3 |
|
MD5 | 37523e77c9fdc11f69efd254cc7031a6 |
|
BLAKE2b-256 | 49fb7f2382da6d31c4ea2794a10c096eb524e997d9d12e6e5569bc18d86cf3d6 |
File details
Details for the file docstamp-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: docstamp-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99f72070875bcb52085db2d832e85f79fc4b6e83583fca6681a48f35e45212a3 |
|
MD5 | f3f501d141e020ed0edbcd0ceff8dc5f |
|
BLAKE2b-256 | 6ead04e302163bcb346fd900f314a0caab37abc3fedec03f72e7cd5b4a3e5b29 |