get-current-wifi-ssid
Get SSID of the current WIFI connection.
Installation
pip install get-current-wifi-ssid
Usage
CLI
# Output the ssid if wifi is connected
# Output nothing if no wifi is connected
python -m get_current_wifi_ssid
Python API
from get_current_wifi_ssid import get_current_wifi_ssid
wifi_ssid = get_current_wifi_ssid()
if wifi_ssid is None:
print("No wifi is connected.")
else:
print("Current wifi ssid is [%s]" % wifi_ssid)
Metadata
Release files for get-current-wifi-ssid 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| get_current_wifi_ssid-0.1.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| get_current_wifi_ssid-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / get_current_wifi_ssid-0.1.0.tar.gz
| Download URL | get_current_wifi_ssid-0.1.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c1078abce22e9fa431879e29ddeafbe9d32b10dbe3f9a763d465b253ca13a3b
|
|
BLAKE2b-256 checksum How to use checksums |
3933582a5ca66af91f14cb921ebc578f863c83bb515575373918bf74cfa844e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Windows/11
|
Release files / get_current_wifi_ssid-0.1.0-py3-none-any.whl
| Download URL | get_current_wifi_ssid-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ebbe9b13cc35cfeab829bba1663c7d29f8ba72a60d7807da7c95e1f09b5679f
|
|
BLAKE2b-256 checksum How to use checksums |
924a4e9c41f2cbd727cf9257411c727cf0f7b81da6dc193537eb1dd694ace207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Windows/11
|