<commit_before>docstamp
======

.. image:: https://pypip.in/v/docstamp/badge.png
    :target: https://pypi.python.org/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 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
------------

.. 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 `<NAME> @alexsavio`_.

Contributors:

<NAME> @oechaniz

<NAME> @ljsalvatierra
<commit_msg>fix: README<commit_after>docstamp
========

.. image:: https://pypip.in/v/docstamp/badge.png
    :target: https://pypi.python.org/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 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
-------
<NAME> @alexsavio


Contributors
------------

<NAME> @oechaniz

<NAME> @ljsalvatierra

{'fraction_non_alphanumeric': 0.12661674608577264, 'fraction_numerical': 0.011912865895166781, 'mean_word_length': 3.053793103448276, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7092163', 'n_tokens_mistral': 992, 'n_tokens_neox': 928, 'n_words': 340}