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.3.tar.gz (8.9 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.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywax-0.1.3.tar.gz
  • Upload date:
  • Size: 8.9 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.3.tar.gz
Algorithm Hash digest
SHA256 4e56473d39215cc6ee95ebc5bff8935898a3a59951df85edb713e28f9f04d22f
MD5 a6080d07a62b9c64f247cd69ba713b6f
BLAKE2b-256 30d97f1741396092a760e33e2fb364cffab6d6f794bde4855214039269afde76

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywax-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: pywax-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62065c0b0668ac3d7d06e670177a0bb3658be42ae5e292f23a91b9eafe3ff43d
MD5 11fee17756dbab2c9022cdbf527b081f
BLAKE2b-256 f479947c063c9eddd71e28781173378da09cf9bb4081b787c16ac12c65823246

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywax-0.1.3-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