Platform Supported
Deployments
PyWiFi-controls
Python module to control WiFi on Linux, Windows and macOS
Installation
python -m pip install pywifi-controls
Usage
Enable or disable Wi-Fi
from pywifi import ControlPeripheral
ControlPeripheral().enable() # Turn on Wi-Fi
ControlPeripheral().disable() # Turn off Wi-Fi
Connect to a Wi-Fi SSID
from pywifi import ControlConnection
# Arguments passed during object instantiation
controller = ControlConnection(wifi_ssid='ssid', wifi_password='password')
controller.wifi_connector()
# Argument values taken from env vars
ControlConnection().wifi_connector()
Arguments
Environment variables are loaded from a .env file.
- wifi_ssid - SSID of the Wi-Fi connection.
- wifi_password - Password for the Wi-Fi connection.
Release Notes
Requirement
python -m pip install gitverse
Usage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
Linting
PreCommit will ensure linting, and the doc creation are run on every commit.
Requirement
pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
Pypi Package
https://pypi.org/project/pywifi-controls/
Runbook
https://thevickypedia.github.io/pywifi-controls/
License & copyright
© Vignesh Rao
Licensed under the MIT License
Metadata
Release files for pywifi-controls 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pywifi_controls-0.8-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pywifi_controls-0.8-py3-none-any.whl
| Download URL | pywifi_controls-0.8-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcef3fc60bbb9ac60ffa4dc3b60fdc895f36ba5d1715d3d18a189179d1c7a720
|
|
BLAKE2b-256 checksum How to use checksums |
13853d4345b1159335309fca45a3f8a56070f7f76dc836bca770485103c9a472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|