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.0.tar.gz (8.4 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.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywax-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 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.0.tar.gz
Algorithm Hash digest
SHA256 0ffc4cb08c7a85d641059446ff57c3669377c901b0796fc716782b0733e006eb
MD5 128bf5cdb8035d2b442da37ed9f83621
BLAKE2b-256 f2abfe0b6bb50a58a237cc64b3f932134d1910390b7d6d54c3a0d70807e445b3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pywax-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07363d94d448508b46a2084c02c6761933ea51f9044cb1e41477c0040049d73d
MD5 9111c154fc67ca73e5e32158a6285051
BLAKE2b-256 4c52a96accc72148691afece4c282121cc1a9e0b8cb65e72438e153dbcc88161

See more details on using hashes here.

Provenance

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