MacOS Wifi CLI:
This is a command line client for interacting with wifi on MacOS.
Installation:
sudo pip3 install macos-wifi-cli
Usage:
$ wifi --help
usage: wifi [-h] [-d DEVICE] {on,off,scan,connect,info,pass} ...
MacOS CLI tool for managing wifi connections
positional arguments:
{on,off,scan,connect,info,pass}
commands
on Turn on wifi
off Turn off wifi
scan Scan for wifi networks
connect Connect to wifi network
info Fetch current wifi info
pass Retrieve stored wifi passphrase
optional arguments:
-h, --help show this help message and exit
-d DEVICE, --device DEVICE Device
Turn wifi off and on:
wifi on
wifi off
Scan for networks:
wifi scan
Connect to a network:
wifi connect --network "mynetwork" --password "mypassword"
Help:
$ wifi connect --help
usage: wifi connect [-h] -n NETWORK -p PASSWORD
optional arguments:
-h, --help show this help message and exit
-n NETWORK, --network NETWORK
SSID name
-p PASSWORD, --password PASSWORD
Wifi passphrase
Tip:
Use command substitution to retrieve the password securely so it's not saved in plaintext in your shell history.
For example, using pass:
wifi connect -n "mynetwork" -p $(pass wifi/home)
Get current wifi info:
wifi info
Get password for previously connect wifi network:
wifi pass --network 'mynetwork'
Metadata
Release files for macos-wifi-cli 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 | Provenance | |
|---|---|---|---|---|
| macos-wifi-cli-0.1.0.tar.gz | 3.1 kB | Without provenance | Details |
Release files / macos-wifi-cli-0.1.0.tar.gz
| Download URL | macos-wifi-cli-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ce9524abe256c947bad9a8a258853e56a935b9f04d67b662bbc6467e819e158
|
|
BLAKE2b-256 checksum How to use checksums |
88603d59f0665430a1faa8188552e49b8add90ac8a12357f4a5bfaf5f19b8c39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
|
Security for macos-wifi-cli 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.