Skip to main content

Macwifi is a Python module that helps you to manage the WiFi on macOS.

Project description

macwifi

Macwifi is a Python module that helps you to manage the WiFi on macOS.

Installation

pip install macwifi

Example

Connect to a WiFi network:

import macwifi

macwifi.connect("MyWiFi", "password")

Done!

Usage

List all available WiFi networks.

list()

Get the information about the connected WiFi.

get_wifi_info()

Get the SSID of the connected WiFi.

get_ssid()

Get the signal strength of the connected WiFi.

get_rssi()

Connect to a WiFi network.

connect(ssid, password)

Turn on the WiFi.

turn_on()

Turn off the WiFi.

turn_off()

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

macwifi-0.0.5.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

macwifi-0.0.5-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

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