Skip to main content

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

Project description

Python27 Python35 PyPi

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

This version
History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
docstamp-0.3.5-py2.py3-none-any.whl (26.8 kB) Copy SHA256 hash SHA256 Wheel 3.6 Jul 15, 2018
docstamp-0.3.5.tar.gz (21.0 kB) Copy SHA256 hash SHA256 Source None Jul 15, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page