A simple yet powerful Python script to generate QR Codes using the qrcode library.
This tool allows you to easily convert any text, URL, or data into a high-quality QR code image. 🎉
- Generate QR codes with customizable size and error correction levels 🛠️
- Configure box size and border thickness 📐
- Output QR code as a PNG image with customizable colors 🎨
- Lightweight and easy to extend for personal or commercial use 🔧
Make sure you have Python installed (version 3.6+ recommended).
Install the required dependency using pip:
pip install qrcode[pil]version: Integer (1 to 40) — Controls the size of the QR code 📏
error_correction: ERROR_CORRECT_L, M, Q, or H — Error correction level (L = Low, H = High) 🛡️
box_size: Integer — Size of each box in pixels 📦
border: Integer — Width of the border (minimum 4) ⬜
fill_color and back_color: Strings — Customize the colors of the QR code 🎨
Fast and simple QR code generation ⚡
Supports encoding URLs, plain text, contact info, and more 📲
Ideal for projects, marketing, and quick data sharing 🔄
This project is licensed under the MIT License.
Stay updated with daily Python & AI projects on our channel:
📢 github: @voidcompile 📢 Telegram: @voidcompile 📢 youtube: @voidcompile 📢 [email: [email protected]]