GithubHelp home page GithubHelp logo

mattmorgan6 / serial-qr-code-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 660 KB

Generates a pdf of pages full of serial QR codes, e.g. the first page is a grid of QR codes from 1-20, the second page is a grid of QR codes from 21-40...

Python 100.00%

serial-qr-code-generator's Introduction

Serial QR Code Generator

Generate your own multi-page PDF of serial QR Codes. Perfect for printing on sticker sheets!

one page of QR codes

Usage

How to install dependencies:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

How to generate QR codes:

usage: gen_qr_codes.py [-h] s n

Generate n QR Codes starting with the number s.

positional arguments:
  s           The identifying number for the first qr code, e.g. 100
              results in the series 100, 101, 102...
  n           How many total QR codes to generate, e.g. 10 will create
              ten QR codes.

options:
  -h, --help  show this help message and exit

Example:

$ python3 gen_qr_codes.py 1 50
^ will generate 50 QR Codes starting with the first QR code corresponding to 1, the second corresponding to 2, the third corresponding to 3...

The output will be a multi-page PDF named qr_codes_1_through_50.pdf in the current directory. The script also creates a folder individual_pages which contains individual pages of QR codes, such as qr_codes_1_through_30.pdf and qr_codes_31_through_50.pdf.

The result should look like:
two pages of QR codes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.