A desktop application built with Python, Tkinter, and the powerful qrcode library, for generating highly customizable QR codes. It offers a range of styling options, logo embedding, and a unique "punch hole" feature for enhanced visual appeal.
- Data Input: Generate QR codes for URLs, text, and other data.
- Customization (powered by
qrcodelibrary's advanced features):- Adjustable error correction levels, module (box) size, and border width.
- Multiple module drawer styles (Rounded, Square, Gapped, Circle, Vertical/Horizontal Bars).
- Separate styling options for QR code "eyes."
- Advanced color masks: Solid color, Radial, Square, Horizontal, and Vertical gradients.
- Logo Embedding: Embed a custom image (e.g., logo) in the center of the QR code.
- Punch Hole Feature: Automatically (with logo) or manually create a clear space in the center of the QR code modules.
- Live Preview: Instantly see changes as you adjust settings.
- Save Options: Export QR codes as PNG, JPG, or basic SVG (note: SVG export does not include advanced styling or embedded logos).
- User-Friendly Interface: Intuitive GUI built with Tkinter.
- Python 3.x
- See
requirements.txtfor specific Python libraries.
It's highly recommended to use a Python virtual environment to manage project dependencies and avoid conflicts with other Python projects or your global Python installation.
-
Set up a Virtual Environment (Optional but Recommended):
- Navigate to your project directory in the terminal.
- Create a virtual environment (e.g., named
venv):python -m venv venv
- Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies: Once your virtual environment is activated (or if you're skipping that step), install the required libraries:
pip install -r requirements.txt
-
Run the Application:
python qrcode-generator-GUI.py
-
Deactivate Virtual Environment (when done): If you used a virtual environment, you can deactivate it by simply typing:
deactivate
This project relies on the qrcode Python library for its core QR code generation and styling capabilities.
