qrcode-generator
CLI and library to generate QR codes for text, Wi-Fi, contacts, email, SMS, locations, and calendar events.
Install the lupaxa-qrcode-generator package and import the
lupaxa.qrcode_generator namespace. Use it from Python or from the
qrcode-generator CLI.
from lupaxa.qrcode_generator import make_text, save_qr
save_qr(make_text("Hello Simon"), "hello.png")
What you get
- A library that returns
segno.QRCodeobjects plussave_qr - Subcommands for the common payload types phones actually open
- Error correction, Micro QR, colours, data URIs, terminal preview, stdout
- Validation for Wi-Fi passwords, http(s) URLs, geo ranges, and event dates
- Python 3.10+, one runtime dependency (
segno)
Next steps
- Getting started — install and first codes
- Usage — library options and CLI flags
- Reference — public API and exit codes
- Examples — copy-paste recipes