QR Barcode Generator
This project generates a series of QR codes (P0000 format) as SVG and PNG images, and combines them into a PDF. It is useful for creating printable barcode sheets for parkrun or similar events.
Requirements
Install dependencies:
pip install -r requirements.txtUsage
1. All-in-one QR to PDF (grid layout)
python pr_qr_pdf.pyor for a range:
python pr_qr_pdf.py 301 400Output
qr_svgs/— SVG QR codesqr_pngs/— PNG QR codesqr_codes.pdf— PDF with all QR codes (grid layout)
Notes
- Ensure you have all dependencies installed (see requirements.txt).
- For PDF/PNG conversion, you need CairoSVG and Pillow.
On this page
Contributors
Apache License 2.0
Created September 12, 2025
Updated October 25, 2025