WiFi QR Terminal
A Python CLI tool that retrieves your currently connected (or stored) Wi-Fi SSID and password, then generates a QR code directly in your terminal. This allows you to easily share your Wi-Fi connection with mobile devices without typing out long passwords.
Installation
From PyPI (Recommended for users)
pip install wifi-qr-terminal
From Source (For development)
git clone https://github.com/albizzy/wifi-qr-terminal.git
cd wifi-qr-terminal
pip install -e .
Usage
After installation, you can run the tool using the command line:
wifi-qr
Alternative Execution
If the wifi-qr command is not found (common on Windows if your Python Scripts folder is not in your PATH), you can run it directly via Python:
# Run as a module
python -m wifi_qr_terminal
Options
--timeout <seconds>: Clears the screen and exits after the specified number of seconds. specific for security.--no-color: Disable colored output (useful for some terminals).--help: Show help message.
Example with timeout:
wifi-qr --timeout 30
Troubleshooting
"Command not found: wifi-qr"
This usually means the directory where Python installs scripts (e.g., C:\Python3XX\Scripts on Windows or ~/.local/bin on Linux) is not in your system's PATH.
Fix: Use the module execution method:
python -m wifi_qr_terminal
"Access denied" / "Permission denied"
- Windows: Run your terminal as Administrator.
- macOS: You will see a popup asking for Keychain access. Click Allow.
- Linux: Run with
sudo:sudo wifi-qr # OR sudo python3 -m wifi_qr_terminal
OS Support
This tool attempts to auto-detect your OS and use native commands:
- Windows: Uses
netsh - macOS: Uses
securityandnetworksetup - Linux: Uses
nmcli(NetworkManager)
Security Note
Passwords are displayed on screen (encoded in the QR). Be aware of your surroundings when running this tool. Use the --timeout feature to minimize exposure time.
Metadata
Release files for wifi-qr-terminal 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wifi_qr_terminal-0.1.3.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wifi_qr_terminal-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / wifi_qr_terminal-0.1.3.tar.gz
| Download URL | wifi_qr_terminal-0.1.3.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd52454245e8efa5bf776ba052c4ff83a70473e5ed8593e6d54aa59136bf758a
|
|
BLAKE2b-256 checksum How to use checksums |
cb96b4ce66d6b41bfd41c2d43a7942396c41d7862d1fab1f717261fc761bb014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / wifi_qr_terminal-0.1.3-py3-none-any.whl
| Download URL | wifi_qr_terminal-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
600ede95771888081c7025cfd046f15e0aa4bfb15340fdd7ca3b36dd3c4fd165
|
|
BLAKE2b-256 checksum How to use checksums |
38ce3120a9903d3cd6cd2fd346808e418d95d55035ddc656525b79d9ed3a24a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency log