No description
Find a file
Karl-Étienne Bolduc 778a726851
Create LICENSE
2023-06-27 11:27:24 -04:00
data Initial Commit 2023-04-20 23:14:05 -04:00
src Initial Commit 2023-04-20 23:14:05 -04:00
.gitignore Initial Commit 2023-04-20 23:14:05 -04:00
LICENSE Create LICENSE 2023-06-27 11:27:24 -04:00
poetry.lock Initial Commit 2023-04-20 23:14:05 -04:00
pyproject.toml Initial Commit 2023-04-20 23:14:05 -04:00
README.md Update README.md 2023-06-27 11:26:49 -04:00

ID Card Generator

image

Motivation

For FoieGraph 2022, we needed to create IDCards for every member that were attending the event. Unfortunately, I didn't find any script to accomplish this task. I decided to provide my script so that anyone can inspire themself to waste as little time as possible. In the template template/page.htm, I fined-tune the margin that would be easier to cut through and to keep the content intact while printing (Most printers have a dead zone where the content is not properly drawn).

How does it work?

The formatting of every card is handled using html and css. The script in Python is used to generate the documents holding the ID.

  1. You create an html template for your ID Card. (Adobe Illustrator, etc).
  2. You need to specify an id on the field where you need to insert information.
  3. You run the script. (You only need to alter directly the 3-4 variables)
  4. You print the document with your browser. (Often ctl-p)

Credit

The design of the template was done by Mariia Myronova.