2025-04-07 09:56:04 +02:00
2025-03-28 16:39:02 +01:00
2025-03-28 16:39:02 +01:00
2025-03-28 16:39:02 +01:00
2025-04-07 09:17:26 +02:00
2025-04-07 09:25:42 +02:00
2025-04-15 10:26:13 +02:00

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

  1. A recent version of Inkscape is installed and in PATH.
  2. 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

Description
Generate nametags for events, staffers, and others
Readme GPL-3.0 48 KiB
Languages
Python 100%