Skip to main content

Generate PDF files from dynamic QR code values.

Project description

QR Code Generator PDF

Generate a PDF from QR code values supplied dynamically by your application.

Library usage

from qr_code_generator import generate_qr_pdf

output_file = generate_qr_pdf(
    [
        "abc123",
        "20251017/PO196916/HK000349SCRBSIL/872",
        "https://example.com",
    ],
    output_file="qr_codes.pdf",
)

print(output_file)

Local script usage

py main.py

main.py reads comma-separated QR values from qr_codes.txt.

CLI usage after install

qr-code-generator "abc123" "https://example.com" -o qr_codes.pdf

Or read values from a file:

qr-code-generator --input-file qr_codes.txt -o qr_codes.pdf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qr_code_generator_pdf-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qr_code_generator_pdf-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file qr_code_generator_pdf-0.1.0.tar.gz.

File metadata

  • Download URL: qr_code_generator_pdf-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for qr_code_generator_pdf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f0961a7dd9627d8420753bdc62847bae626eaf1d3b2d42ff0cd0f9ff7235d62
MD5 9f57fe82ad96fc476ef06c7a22e5c113
BLAKE2b-256 7170ac4669c6e4bc207d53137d18958019a5602037a12762180a1c205b520251

See more details on using hashes here.

File details

Details for the file qr_code_generator_pdf-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qr_code_generator_pdf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1450c956a613f83f05c6995fc917702f5647fef825c309d8e9ed219ceab15bd8
MD5 a9d88eb7459563d72065e8f3d9d20d46
BLAKE2b-256 b962afa1ca192a4c7bed563fba3ad936dcec79ba5d99cac005ea0908b9ee96f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page