Install & Compatibility
Where this runs
tested against v0.5.20 · 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.826s · 38.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.2s · import 0.726s · 42MB
39MB installed
● package 39MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Wyzeapy
✓ from wyzeapy import Wyzeapy
✗ from wyzeapy.client import Wyzeapy
Old import path changed in v0.4.0
Client
✓ from wyzeapy import Client
✗ from wyzeapy.client import Client
Client class moved to top-level in v0.5.0
Initialize Wyzeapy client and list available cameras.
import asyncio
from wyzeapy import Wyzeapy
async def main():
client = await Wyzeapy.create(email='your_email', password='your_password')
cameras = await client.get_cameras()
for cam in cameras:
print(cam.nickname)
asyncio.run(main())
Errors
Common errors & fixes
wyzeapy.exceptions.WyzeApiError: Invalid credentials
Email or password is incorrect, or Wyze API requires two-factor authentication (2FA).
fixVerify credentials and if 2FA is enabled, use keypair-based authentication or handle the 2FA flow programmatically (see docs).
RuntimeError: asyncio.run() cannot be called from a running event loop
Running asyncio.run() inside an environment that already has an event loop (e.g., Jupyter notebook).
fixUse 'await' directly in async environments. In Jupyter, import nest_asyncio and apply nest_asyncio.apply().
ModuleNotFoundError: No module named 'wyzeapy'
The library is not installed or installed in a different Python environment.
fixRun 'pip install wyzeapy' in the correct Python environment (check with 'which python' or 'python --version').
Upgrade
Version history
0.6.0latest on PyPI · released Jun 7, 2026
Audit
Dependencies
aiohttprequiredAsync HTTP client used for API calls
asynciorequiredCore async library (stdlib)
typing_extensionsrequiredExtended type hints