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 @ git+https://github.com/pschmitt/pywax"

Or run without installing via uvx:

uvx --from "pywax @ git+https://github.com/pschmitt/pywax" wax --help

Configuration

Credentials can be provided via environment variables or /etc/wax/credentials:

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

CLI usage

wax info                          # device facts
wax ssid                          # list all SSIDs
wax ssid --psk                    # include pre-shared keys
wax ssid set SSID1 --enable       # enable an SSID
wax ssid set brkn-lan --hide      # hide SSID from beacons
wax ssid set SSID1 --psk new-psk  # change passphrase
wax ssid set SSID1 --auth-type wpa2_wpa3 --encryption aes

Library usage

from pywax import WaxClient

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

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.1.tar.gz (8.5 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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywax-0.1.1.tar.gz
  • Upload date:
  • Size: 8.5 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.1.tar.gz
Algorithm Hash digest
SHA256 c6c12be1f08c240b4bb978f246c0b02569bad9491ba2ceecaaacdec636fb08bb
MD5 cb283be0aac05061af6c5752c4b89865
BLAKE2b-256 1445dbd0eef2708fb9d0bd6a88964978690cba2aafa9a88b46d0a1325071e6cf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pywax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6e527f8a8024963a1f4621e977665908c4c2f5fdf5bcd5a25ea59aadafa114
MD5 e7edb17d2d9ebd0075c6ff92a632868e
BLAKE2b-256 65bc439efdf2ceefe8e760e2ca7065de9c854a76103de8706efb768f65cba5c9

See more details on using hashes here.

Provenance

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