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-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.

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 details)

Uploaded Python 2 Python 3

File details

Details for the file docstamp-0.2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for docstamp-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 205ad1b66c3baed8d8f9e0d0a1c67061e7b3e3b33d1edfcc9e25b5d0a08eb469
MD5 8509eada93afcaa1766a3a41f9bf1e4a
BLAKE2b-256 35a1912ffbc6942bde49c653bb6f91d7be0e6a6c2af7e55651f97790bf7c07e1

See more details on using hashes here.

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