Skip to main content

Netgear WAX access point Python library and CLI

Project description

pywax

Python library and CLI for managing Netgear WAX access points via their local HTTPS management API.

Installation

pip install pywax

Or run without installing:

uv run --with pywax python3 -m pywax --help

Configuration

Credentials are read from environment variables or /etc/wax/credentials:

# /etc/wax/credentials
WAX_HOST=10.5.0.3
WAX_USERNAME=admin
WAX_PASSWORD=your-password

Environment variables (WAX_HOST, WAX_USERNAME, WAX_PASSWORD) take precedence over the file.

CLI usage

wax info                          # device facts

wax wifi                          # list all SSIDs
wax wifi --psk                    # include pre-shared keys
wax wifi SSID1                    # show details for SSID1
wax wifi brkn-lan                 # look up by SSID name

wax wifi SSID1 on                 # enable
wax wifi SSID1 off                # disable
wax wifi SSID1 toggle             # flip enabled state
wax wifi SSID1 hide               # hide from beacons
wax wifi SSID1 show               # unhide
wax wifi SSID1 psk s3cr3t         # set passphrase

wifi can be abbreviated as w, wlan, or ssid.

Library usage

from pywax import WaxClient

with WaxClient("10.5.0.3", password="secret") as client:
    facts = client.get_facts()
    ssids = client.get_ssids()
    client.set_ssid("SSID1", {...})

Auth type reference

auth_type Description
wpa2 WPA2-PSK only
wpa_wpa2 WPA + WPA2 mixed
wpa2_wpa3 WPA2-PSK + WPA3-SAE (transition)

Credits

API discovery based on the excellent work by rroller in the netgear Home Assistant integration.

License

GPL-3.0-or-later

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

pywax-0.1.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywax-0.1.4-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file pywax-0.1.4.tar.gz.

File metadata

  • Download URL: pywax-0.1.4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pywax-0.1.4.tar.gz
Algorithm Hash digest
SHA256 676503406d9aadafddfe200c5990a4d25850e3bb73e0098090a7fcedcac4ee32
MD5 60c81e4a5a5a0fca0f00eb6f3cc49d36
BLAKE2b-256 65ca30f61e1fb345d3bc14ea703e431b997865a3cb908d735091223c64e4e01a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywax-0.1.4.tar.gz:

Publisher: pypi.yaml on pschmitt/pywax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pywax-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pywax-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pywax-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8b51081f87bd5a8e76d5e6fb026be62756129c72303b629ac6c7e687dcae05ae
MD5 b9c0bf5037fee23c40d88e313f13f9b8
BLAKE2b-256 7c44dbd1b3e72e88253e50351d5523107d6fd5d01ac0e29d5af3310347a3bd53

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywax-0.1.4-py3-none-any.whl:

Publisher: pypi.yaml on pschmitt/pywax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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