Install & Compatibility
Where this runs
tested against v0.1.11 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.626s · 22.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.1s · import 0.586s · 23MB
20MB installed
● package 20MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AirWaveAPIClient
✓ from airwaveapiclient import AirWaveAPIClient
✗ from airwaveapiclient.client import AirWaveAPIClient
Incorrect path, the top-level import is correct.
AirWaveAPIError
✓ from airwaveapiclient import AirWaveAPIError
Initialize the client with environment variables for host, username, and password.
from airwaveapiclient import AirWaveAPIClient
import os
client = AirWaveAPIClient(
host=os.environ.get('AIRWAVE_HOST', ''),
username=os.environ.get('AIRWAVE_USERNAME', ''),
password=os.environ.get('AIRWAVE_PASSWORD', '')
)
print(client.get_ap_parameters())
Errors
Common errors & fixes
ImportError: cannot import name 'AirWaveAPIClient' from 'airwaveapiclient'
Incorrect import path or missing installation.
fixRun `pip install airwaveapiclient` and use `from airwaveapiclient import AirWaveAPIClient`.
AttributeError: 'AirWaveAPIClient' object has no attribute 'get_ap_parameters'
The method was renamed in a recent version.
fixUse `get_access_points()` instead of `get_ap_parameters()`.
Upgrade
Version history
0.1.11latest on PyPI · released Jun 12, 2019
Audit
Dependencies
No dependency data recorded yet.