https://github.com/josgard94/qr_generator_with_python_and_tkinter
Comparte tu conexión Wifi usando un QR. En este proyecto, se utiliza la librería qrcode de Python para generar un código QR con la información necesaria para realizar automáticamente la conexión de un dispositivo móvil a una red Wifi.
https://github.com/josgard94/qr_generator_with_python_and_tkinter
development error-correction python python3 qr-code qr-generator qrcode qrcode-generator sharewifi tkinter tkinter-graphic-interface tkinter-gui tkinter-python wifi-network
Last synced: 26 days ago
JSON representation
Comparte tu conexión Wifi usando un QR. En este proyecto, se utiliza la librería qrcode de Python para generar un código QR con la información necesaria para realizar automáticamente la conexión de un dispositivo móvil a una red Wifi.
- Host: GitHub
- URL: https://github.com/josgard94/qr_generator_with_python_and_tkinter
- Owner: josgard94
- Created: 2020-06-29T08:03:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T07:33:08.000Z (6 months ago)
- Last Synced: 2025-07-18T07:50:36.017Z (3 months ago)
- Topics: development, error-correction, python, python3, qr-code, qr-generator, qrcode, qrcode-generator, sharewifi, tkinter, tkinter-graphic-interface, tkinter-gui, tkinter-python, wifi-network
- Language: Python
- Homepage:
- Size: 2.57 MB
- Stars: 13
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📶 QR Generator with Python and Tkinter
Easily share your Wi-Fi connection using a **QR code** 📱. This project uses Python and the `qrcode` library to generate a QR code containing the necessary credentials to allow a mobile device to automatically connect to a Wi-Fi network.
The QR code generated includes **error correction level Q**, which allows approximately **25%** of the code to be restored if damaged or obscured.
---
## 🚀 Getting Started
To run this project, make sure you have the `qrcode` library installed:
```bash
pip install qrcode
```## 🧠 What is a QR Code?
A QR (Quick Response) code is a two-dimensional pictographic code known for its fast readability and relatively large storage capacity. The code is made up of black squares (modules) arranged on a white background and can store different types of data:
- Binary
- Alphanumeric
- Kanji symbols
- And more## ⚙️ QR Code Error Correction
The qrcode library provides four levels of error correction. These allow a QR code to remain scannable even if partially damaged:
| Constant | Correction Level | Description |
|--------------------|------------------------|----------------------------------------|
| `ERROR_CORRECT_L` | Low | Recovers ~7% of the data |
| `ERROR_CORRECT_M` | Medium (default) | Recovers ~15% of the data |
| `ERROR_CORRECT_Q` | Quartile | Recovers ~25% of the data |
| `ERROR_CORRECT_H` | High | Recovers ~30% of the data |
|
In this project, we use ERROR_CORRECT_Q for a balance between reliability and QR complexity.## 🖼️ Interface
This app uses Tkinter to provide a graphical interface where users can enter Wi-Fi credentials and instantly generate a QR code ready to scan.### 🔳 Sample UI

## ⭐ Like this project?
Star it if you found it useful ⭐ and feel free to contribute!