Skip to main content

Generate professional vCard QR codes with custom styling

Project description

Business Card QR Code Generator

Generate professional vCard QR codes with custom styling for business cards.

Features

  • 🎨 Custom colors and gradients
  • 🔲 Rounded corners with anti-aliasing
  • 🖼️ Logo embedding (PNG/JPG)
  • 📱 vCard format for easy contact import
  • 🎯 High error correction for reliable scanning
  • 🖥️ Beautiful Streamlit interface

Installation

pip install business-card-qr

Usage

Web Interface

Run the Streamlit app:

business-card-qr
# or
streamlit run -m business_card_qr.app

Python API

from business_card_qr import BusinessCardQRGenerator
from PIL import Image

# Create vCard data
vcard = """BEGIN:VCARD
VERSION:3.0
FN:John Doe
ORG:Example Company
EMAIL:john@example.com
END:VCARD"""

# Generate QR code
qr_gen = BusinessCardQRGenerator(vcard)
qr_img = qr_gen.generate_custom(
    rounded=True,
    fill_color="black",
    back_color="white"
)

# Save
qr_img.save("business_card_qr.png")

Requirements

  • Python 3.8+
  • qrcode[pil]
  • Pillow
  • streamlit

License

MIT License

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

business_card_qr-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

business_card_qr-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for business_card_qr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 daf62d17ed0bdfa89962e49a5c0fafdc0a0e7ae573baf92858f5c0645983ae13
MD5 e9b6250ead1fa92fb7ea73766af866c2
BLAKE2b-256 a9c13763ca216a7c0240198c9a20cb771d2770212ec7f112fcd80ef24510f395

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for business_card_qr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67846ad191cee5fcc37be09e4ded876a2443dac93702037a34af1e30be56282a
MD5 1c495e49e2c35a83b40dcb28f5cc4bd1
BLAKE2b-256 a627419e6f48564843512c588baa4391130bbfa5fa1f41aa1be8393323c9cb3f

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