A terminal-based Wi-Fi credential retriever and QR code generator.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wifi_qr_terminal-0.1.3.tar.gz.
File metadata
- Download URL: wifi_qr_terminal-0.1.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd52454245e8efa5bf776ba052c4ff83a70473e5ed8593e6d54aa59136bf758a
|
|
| MD5 |
ae4b93d48d9e8aa000f4b38c68b793c0
|
|
| BLAKE2b-256 |
cb96b4ce66d6b41bfd41c2d43a7942396c41d7862d1fab1f717261fc761bb014
|
Provenance
The following attestation bundles were made for wifi_qr_terminal-0.1.3.tar.gz:
Publisher:
publish.yml on albizzy/wifi-qr-terminal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wifi_qr_terminal-0.1.3.tar.gz -
Subject digest:
dd52454245e8efa5bf776ba052c4ff83a70473e5ed8593e6d54aa59136bf758a - Sigstore transparency entry: 822596270
- Sigstore integration time:
-
Permalink:
albizzy/wifi-qr-terminal@3e71cb50ddfa54b6ae3efe90bf09e79299c18191 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/albizzy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3e71cb50ddfa54b6ae3efe90bf09e79299c18191 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wifi_qr_terminal-0.1.3-py3-none-any.whl.
File metadata
- Download URL: wifi_qr_terminal-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
600ede95771888081c7025cfd046f15e0aa4bfb15340fdd7ca3b36dd3c4fd165
|
|
| MD5 |
dc7be05d47f2820be3245cce25e377c7
|
|
| BLAKE2b-256 |
38ce3120a9903d3cd6cd2fd346808e418d95d55035ddc656525b79d9ed3a24a4
|
Provenance
The following attestation bundles were made for wifi_qr_terminal-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on albizzy/wifi-qr-terminal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wifi_qr_terminal-0.1.3-py3-none-any.whl -
Subject digest:
600ede95771888081c7025cfd046f15e0aa4bfb15340fdd7ca3b36dd3c4fd165 - Sigstore transparency entry: 822596325
- Sigstore integration time:
-
Permalink:
albizzy/wifi-qr-terminal@3e71cb50ddfa54b6ae3efe90bf09e79299c18191 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/albizzy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3e71cb50ddfa54b6ae3efe90bf09e79299c18191 -
Trigger Event:
release
-
Statement type: