Skip to main content

A SVG template renderer from table data based on Inkscape and Jinja2.

Project description

docstamp
======

.. image:: https://pypip.in/v/docstamp/badge.png
:target: https://pypi.python.org/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.

Usage
-----

The CSV header fields must match the ones in the SVG 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

docstamp-0.2.4-py2.py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page