A QR code offers a quick and user-friendly way to connect devices to a network. Simply scanning the code eliminates the need to manually enter the SSID and password, saving time and minimizing errors. The use of encrypted information in the QR code improves security, while automated configurations simplify setup.
- First clone the repository to a local directory on your computer.
git clone https://github.com/jcivitel/py_wifi_qr.git
- Open a Command Prompt (CMD) and execute the following command in the directory:
python -m venv venv
- In this step, you need to install the required python packages to provide the script with all it dependencies:
. venv/bin/activate
pip install -r reqirements.txt
- After installing the required packages, you can run the script with your
<SSID>
and password as<KEY>
:
python main.py <SSID> <KEY>
- The script generates a QR code, which is opened directly with your standard image program.