Skip to main content

docstamp

Build Status

Initially it was a conference badge creator based on SVG templates, 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 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 or rsvg-convert 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:

python -m pip install git+https://www.github.com/PythonSanSebastian/docstamp.git

To install the latest release:

python -m pip install docstamp

Requirements

See setup.cfg file. Also you will need Inkscape, XeLatex, or PDFLatex installed in your system.

For unicode support in SVG exports, you need to install rsvg-convert, which is available in librsvg-bin.

Compatibility

DocStamp is compatible with Python 2 (we wish to believe) and 3.

We could not test it on Windows.

Authors

  • Alexandre M. Savio @alexsavio

Contributors

  • Oier Etxaniz @oechaniz
  • Luis Javier Salvatierra @ljsalvatierra
  • Haseeb Majid

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

Uploaded Source

File details

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

File metadata

  • Download URL: docstamp-0.4.5.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3

File hashes

Hashes for docstamp-0.4.5.tar.gz
Algorithm Hash digest
SHA256 6bb23bb7f0e2e12eba524e117b2d4fea7d149d847f97c1b6797badd17e0af471
MD5 e7e748b21512966aa6ede4acb87b12be
BLAKE2b-256 5e4d9fc0927c05380cf76d74ec640c8d8299f56e34a20f23b4c4c481aec0e922

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.5 This release

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.4

1 file

0.2.3

2 files

0.2.2

1 file

0.2.1

2 files

0.2.0

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page