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.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

docstamp-0.3.1-py2.py3-none-any.whl (24.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for docstamp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0287a59fdc139181564fec2cb7ef17a8cebd8fd5c3a8e7508f7be16505193146
MD5 7b4406075892ea6bd32705810a6a3e1f
BLAKE2b-256 da19c341787391fa268266e6c77d2b62e5a52e8b2bf2f985dab418aeee46a11f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docstamp-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c718a19a7747908c094e534416b3273a965d520c684186e26c6a72bb561257fe
MD5 b0e25de684a1c7ce5154d06e6e8721be
BLAKE2b-256 a0cc12d6a01427bc471e9f8f770b04a13eb9d0b3b6fa7437d84e81c019ae4464

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