Skip to main content

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 security and networksetup
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wifi_qr_terminal-0.1.3.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wifi_qr_terminal-0.1.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

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

Hashes for wifi_qr_terminal-0.1.3.tar.gz
Algorithm Hash digest
SHA256 dd52454245e8efa5bf776ba052c4ff83a70473e5ed8593e6d54aa59136bf758a
MD5 ae4b93d48d9e8aa000f4b38c68b793c0
BLAKE2b-256 cb96b4ce66d6b41bfd41c2d43a7942396c41d7862d1fab1f717261fc761bb014

See more details on using hashes here.

Provenance

The following attestation bundles were made for wifi_qr_terminal-0.1.3.tar.gz:

Publisher: publish.yml on albizzy/wifi-qr-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wifi_qr_terminal-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wifi_qr_terminal-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 600ede95771888081c7025cfd046f15e0aa4bfb15340fdd7ca3b36dd3c4fd165
MD5 dc7be05d47f2820be3245cce25e377c7
BLAKE2b-256 38ce3120a9903d3cd6cd2fd346808e418d95d55035ddc656525b79d9ed3a24a4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page