Skip to main content

Python module to modify screen brightness on Linux, Windows and macOS

Project description

Platform Supported

Generic badge

Deployments

pages-build-deployment pypi-publish

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

pypi-module

https://pypi.org/project/pywifi-controls/

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/pywifi-controls/

License & copyright

© Vignesh Rao

Licensed under the MIT License

Project details


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

pywifi_controls-0.80a0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file pywifi_controls-0.80a0-py3-none-any.whl.

File metadata

File hashes

Hashes for pywifi_controls-0.80a0-py3-none-any.whl
Algorithm Hash digest
SHA256 0200a2e597a3e4a4b634cd83ed64ebb1b29d3d9288e09bbdf64c0a52c1c4b2e3
MD5 68e9de57eb2df0dc8c770a75dd3bc95b
BLAKE2b-256 5f0c7d6fc5bd74604dc800617d924b1e864f3b828f484411c8b26f5b761b97cd

See more details on using hashes here.

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