nametags
A simple Python script that takes a template and a spreasheet, and produces a PDF file with the generated nametags.
Usage
Template
You can find an example template at examples/ExampleTemplate.svg
Requirements
- A recent version of
Inkscape is installed and in
PATH
. - The following Python3 packages:
svgwrite pandas odfpy PyPDF2 click
Usage
$ python3 generate.py --participants=source/Participants.ods --template=sources/Template.svg --result=result/Nametags.pdf
Options
participants
The path to the ODS spreadsheet with the participant list.template
The path to the SVG page template where the data will be inserted.result
The path where the generated PDF will be saved.pages
The folder where the individual SVG and PDF pages will be saved.name-column
The index of the column containing the name, if-1
no name will be added.title-column
The index of the column containing the title, if-1
no title will be added.organization-column
The index of the organization containing the organization, if-1
no organization will be added.
Maintainer
This repository is maintained by Sofía Aritz
Languages
Python
100%