Python module to modify screen brightness on Linux, Windows and macOS
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pywifi_controls-0.71a0-py3-none-any.whl
.
File metadata
- Download URL: pywifi_controls-0.71a0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 299e798a1c8c98846f7a01935dc10722b788a73f89be07cf570e3d465c130d61 |
|
MD5 | 8690eef4554369fad3f84aae140506e9 |
|
BLAKE2b-256 | a635fdb2f5526b57f0d3ba3954bab1ffbc284adc768ba12f1d3c7b946d4b714d |