A SVG and LateX template renderer from table data based on Inkscape and Jinja2.
Project description
.. -*- mode: rst -*-
|Python27|_ |Python35|_ |PyPi|_
.. |Python27| image:: https://img.shields.io/badge/python-2.7-blue.svg
.. _Python27: https://badge.fury.io/py/docstamp
.. |Python35| image:: https://img.shields.io/badge/python-3.5-blue.svg
.. _Python35: https://badge.fury.io/py/docstamp
.. |PyPi| image:: https://badge.fury.io/py/docstamp.svg
.. _PyPi: https://badge.fury.io/py/docstamp
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
Authors
-------
Alexandre M. Savio @alexsavio
Contributors
------------
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
Changelog
=========
Version 0.4.0 by Haseeb Majid
-------------
- Added support for unicode in PDFs.
- Fixed small typos.
- Removed `flag_value` from click.options.
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...
|Python27|_ |Python35|_ |PyPi|_
.. |Python27| image:: https://img.shields.io/badge/python-2.7-blue.svg
.. _Python27: https://badge.fury.io/py/docstamp
.. |Python35| image:: https://img.shields.io/badge/python-3.5-blue.svg
.. _Python35: https://badge.fury.io/py/docstamp
.. |PyPi| image:: https://badge.fury.io/py/docstamp.svg
.. _PyPi: https://badge.fury.io/py/docstamp
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
Authors
-------
Alexandre M. Savio @alexsavio
Contributors
------------
Oier Etxaniz @oechaniz
Luis Javier Salvatierra @ljsalvatierra
Changelog
=========
Version 0.4.0 by Haseeb Majid
-------------
- Added support for unicode in PDFs.
- Fixed small typos.
- Removed `flag_value` from click.options.
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
docstamp-0.4.0.tar.gz
(21.4 kB
view details)
File details
Details for the file docstamp-0.4.0.tar.gz
.
File metadata
- Download URL: docstamp-0.4.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 384f4391a901f2f556ae491cd1025374c0badbb8824bd019fbf4e11cb8f5d76f |
|
MD5 | e11c361ec593be829a8a223b856905fb |
|
BLAKE2b-256 | 76eaae40c9cdcca807b67a031a8a5d4c45cb32d707ebe9f1ece1a0b2e6176d9d |