A simple yet powerful QR Code Generator built with Python. It provides:
π₯οΈ A GUI interface using Tkinter
π§© Logo overlay support (add your brand logo in the center of QR)
π Batch generation from CSV files
π Features
β Single QR Generator β Create a QR code from text or URL β Logo Support β Overlay a logo or image at the center of your QR β Batch Mode β Automatically generate multiple QR codes from a CSV file β Preview Window β Instantly view your generated QR in the GUI β Custom Save Location β Choose where to save each QR file
π οΈ Requirements
Make sure you have Python 3.8+ installed. Then install the required libraries:
pip install qrcode[pil] pillow pandas
π Project Structure qr-code-generator/ β βββ qr_generator_full.py # Main script with GUI + logo + batch mode βββ sample.csv # Example CSV for batch mode βββ logo.png # Optional logo file (example) βββ README.md # Documentation
π₯οΈ How to Run π’ Run the GUI App python qr_generator_full.py
π§© Using the App 1οΈβ£ Generate Single QR Code
Enter text or a URL in the input box
Click Choose Logo (optional) to add a logo
Click Generate QR
Choose where to save it (.png recommended)
The generated QR code preview appears in the app
2οΈβ£ Batch QR Generation (CSV Mode)
You can generate multiple QR codes at once from a CSV file.
Example CSV format:
text,filename https://example.com,example_qr.png Hello World,hello.png
Steps:
Click Select CSV File and choose your .csv file
Click Select Output Folder and pick the save directory
(Optional) Choose a logo
Click Generate Batch
Each QR will be saved in your selected folder with the specified filenames.
πΌοΈ Example Output Example Description
Basic QR Code
QR with logo overlay (example only)
βοΈ Configuration
You can customize:
Error Correction: Currently uses ERROR_CORRECT_H (highest, suitable for logos)
Box Size & Border: Change in the script for different QR sizes
Fill & Background Colors: Can be modified in the generate_qr() function
π§βπ» Author
Vinit Soni π‘ Created for learning and demonstration purposes π Includes Python GUI, file handling, and image processing concepts
π License
This project is released under the MIT License β youβre free to use, modify, and distribute it.