Skip to main content

Fast Python QR Code generator & CLI powered by QR Master

Project description

QR Master Python Package & CLI

Generate a QR code where you are already working: in the terminal, as a PNG or SVG file, or inside your Python applications.

Use it for a URL, WiFi access, a contact card, or a WhatsApp chat link—without setting up complex dependencies.

PyPI version Python versions license


Start in seconds

Install via pip:

pip install qrmaster

Pass any URL or text to qrmaster:

qrmaster "https://www.qrmaster.net"

The QR code is printed directly in your terminal so you can scan it right away.

Save a shareable image by adding an output path:

# PNG image export
qrmaster "https://www.qrmaster.net" --output qr-code.png

# SVG vector export for crisp scaling in print and design tools
qrmaster "https://www.qrmaster.net" --output qr-code.svg

Common use cases

Connect guests to WiFi

qrmaster --wifi \
  --ssid "Studio-Guest" \
  --password "replace-with-your-password" \
  --output wifi-qr.png

Scanning the code opens the device's WiFi connection flow with the supplied network details.

Share a contact card (vCard)

qrmaster --vcard \
  --name "Alex Smith" \
  --email "alex@example.com" \
  --phone "+49 30 123456" \
  --output alex-contact.svg

Open a WhatsApp chat

qrmaster --whatsapp \
  --phone "+49 170 1234567" \
  --output whatsapp-qr.png

Command reference

qrmaster <content-or-url> [options]
Option Description
-o, --output <filepath> Write a file. Use .svg for SVG; any other extension is written as PNG.
--wifi Create a WiFi connection QR code. Requires --ssid.
--ssid <name> WiFi network name; used with --wifi.
--password <password> WiFi password; used with --wifi.
--vcard Create a vCard contact QR code.
--name <full-name> Contact name; used with --vcard.
--email <email> Contact email; used with --vcard.
--phone <phone> Contact telephone number; used with --vcard or --whatsapp.
--whatsapp Create a QR code that opens a WhatsApp chat. Provide a number with --phone, or as positional argument.
-h, --help Show the built-in help menu.

Use from Python (SDK API)

Import the module when QR generation belongs inside your Python code or automation scripts:

from qrmaster import (
    generate_qr,
    build_wifi_payload,
    build_vcard_payload,
    build_whatsapp_payload,
)

# Render in terminal and save SVG file
generate_qr("https://www.qrmaster.net", output="qr-code.svg")

# Generate WiFi connector payload
wifi_data = build_wifi_payload(ssid="Studio-Guest", password="replace-with-your-password")
generate_qr(wifi_data, output="wifi-qr.png")

# Generate vCard payload
contact_data = build_vcard_payload(
    name="Alex Smith",
    email="alex@example.com",
    phone="+49 30 123456"
)
generate_qr(contact_data)

# Generate WhatsApp chat payload
whatsapp_data = build_whatsapp_payload(phone="+49 170 1234567", text="Hello!")
generate_qr(whatsapp_data, output="whatsapp-qr.png")

Need editable destinations or scan analytics?

This Python package creates static QR codes locally. For destinations you can change after printing, scan analytics, branding, or bulk vector exports, use the Dynamic QR Code Generator.

Restaurant menus: keep the table code, update the menu

Printed menu cards often outlive prices, daily specials, and menu links. A dynamic QR code keeps the QR code on the table unchanged while you update its destination in QR Master. Explore QR codes for restaurants to see the workflow for digital menus, ordering, feedback, and promotions.

Useful free tools:


License

MIT © QR Master

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

qrmaster-1.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

qrmaster-1.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file qrmaster-1.0.1.tar.gz.

File metadata

  • Download URL: qrmaster-1.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for qrmaster-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f20eb992f7cf9dc8e6a28bfdadd67c2773eb96d99669395e592cd8bfa60d6d47
MD5 28e9732065586c4bb6599ac93c118095
BLAKE2b-256 9d4d890f6381bd2b2066bf13fc6a1c12aa4aab77c1a47e2362072134327de34a

See more details on using hashes here.

File details

Details for the file qrmaster-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: qrmaster-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for qrmaster-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 853a7cb2c72a1731e5b5d3d882ae461c681bab05b4fb7d82cd6b18362c77314a
MD5 21c2703783500b376c83cf73ba387188
BLAKE2b-256 eae18c187c251747b519bf7b749d8acfef33dde9950905e9fdc1830a9935ab44

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