Skip to content

vinitsoni03/QR-code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

QR-code-Generator

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages