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.2.tar.gz (8.7 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.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywax-0.1.2.tar.gz
  • Upload date:
  • Size: 8.7 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.2.tar.gz
Algorithm Hash digest
SHA256 66bc7df787ccc3f2457ba61415367407c2203c737a290da73c8b914fb540bb14
MD5 569d03bf35be88d45a627410c3dea625
BLAKE2b-256 51154406a5efb7437b18133de13f3aaf1d059eaa00c68d05604ea78e1fa5310d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pywax-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e5404b8a8514ea278e1b1e29555ce68e6d9086c259014e4c28c9f4b321b8db
MD5 904a541df225b26c2da63fd4399a6b63
BLAKE2b-256 ca45879211c88638958e22ca77a9bf6b9415050eb67ef921eb491aef53dcc5ab

See more details on using hashes here.

Provenance

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