Skip to main content

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

Project description

Latest PyPI version 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

  • Pillow>=3.1.0

  • jinja2>=2.8

  • gspread>=0.3.0

  • oauth2client>=2.0.0

  • pycrypto>=2.6.1

  • svgutils>=0.1.0

  • PyPDF2>=1.25.1

  • qrcode>=5.1

Compatibility

DocStamp is compatible with Python 2 and 3. I could not test it on Windows.

Licence

New BSD license

Authors

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 Distribution

docstamp-0.3.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

docstamp-0.3.2-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file docstamp-0.3.2.tar.gz.

File metadata

  • Download URL: docstamp-0.3.2.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for docstamp-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5ce635ab627f0398bebb7c7e4c8be82b71cd5ef56441e68b8fcfd51bb11b21f1
MD5 5863595d9cf4e26603889913e596159d
BLAKE2b-256 b25f90e77c17ceaa156993cfd748e6ac421fd50155ac972ca948dc81e99e311b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docstamp-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54db2890d36f594944210f204a3e3b95e39b21cf3a133bbb03650867ac97909f
MD5 bb277de2d5c276c8ea51f08b20e6fa66
BLAKE2b-256 ad14a7f4a39800f5c5cdfaa14d9303a398ed3e051c3b9e4dccd2f3d3f2ffffa1

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