Skip to main content

Project Logo

The Lupaxa Developers Toolbox
Part of The Lupaxa Project


lupaxa-qrcode-generator

CLI and library to generate QR codes for text, Wi-Fi, contacts, email, SMS, locations, and calendar events.

Built for scripts and tools used by The Lupaxa Project.

The PyPI name is lupaxa-qrcode-generator. The import path is lupaxa.qrcode_generator. The CLI is installed as qrcode-generator and qrcodes.

Features

  • Text, URL, Wi-Fi, vCard, tel, email, SMS, geo, and calendar event payloads
  • Error correction, version pin, Micro QR, ECI, and structured-append sequences
  • Colours, --kind, PNG DPI, terminal preview, data URIs, stdout, and optional centre logos ([logo] extra)
  • Library API returns a segno.QRCode; save_qr writes PNG, SVG, and other segno formats
  • CLI with --version, -o / --scale / --border, and a subcommand per type
  • Wi-Fi WPA/WEP requires a password; URLs must be absolute http / https
  • SMS supports RFC ?body= and iOS &body= forms
  • Calendar events emit escaped iCalendar with PRODID, UID, and DTSTAMP
  • Fully typed, linted, formatted, and tested

Installation

From PyPI

pip install lupaxa-qrcode-generator
pip install lupaxa-qrcode-generator[logo]  # centre-logo overlay (Pillow)

From source (development mode)

pip install -e ".[dev]"

Requires Python 3.10+. lupaxa is a namespace package — there is no lupaxa/__init__.py.

Usage

from lupaxa.qrcode_generator import make_text, make_wifi, save_qr

save_qr(make_text("Hello Simon"), "hello.png")
save_qr(make_wifi("MyWifi", password="Secret!", auth="WPA"), "wifi.png")
qrcode-generator text "Hello Simon" -o hello.png
qrcode-generator wifi --ssid "MyWifi" --password "Secret!" --auth WPA -o wifi.png
qrcode-generator url "https://example.com" -o site.png
qrcode-generator --version
qrcode-generator --help

Development

make init
make python-install-dev
make python-check
make mkdocs-serve

Documentation: https://qrcode-generator.thelupaxaproject.org/.

The Lupaxa Project Footer

Release files for lupaxa-qrcode-generator 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-qrcode-generator 0.2.2
File Size Uploaded
lupaxa_qrcode_generator-0.2.2.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-qrcode-generator 0.2.2
File Interpreter ABI Platform
lupaxa_qrcode_generator-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / lupaxa_qrcode_generator-0.2.2.tar.gz

Download URL lupaxa_qrcode_generator-0.2.2.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fd455e4bfeaaa3bef7c5113b9f54f418cd5465dd5997b67f9c6edeb6f6b02a96
BLAKE2b-256 checksum
How to use checksums
0b02ed8c18314334388d17ab085595d8d4e99f1793694d60086383f114e9e4a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / lupaxa_qrcode_generator-0.2.2-py3-none-any.whl

Download URL lupaxa_qrcode_generator-0.2.2-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c34652cccfb65217b0c11219d062d4d527fdf180601d60fb4b63782b050503a
BLAKE2b-256 checksum
How to use checksums
fca565ead07c25ef291ee0e25e029f7485b8259929114242af6a916d6c660a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page