winrt-windows-devices-radios is a Python projection of a subset of Windows Runtime (WinRT) APIs, specifically those related to managing wireless radios like Wi-Fi and Bluetooth. It allows Python applications to interact with system hardware for radio control on Windows. Part of the broader `pywinrt` project, it is currently at version 3.2.1 and receives regular updates corresponding to new Windows SDK releases and `pywinrt` core improvements.
pip install winrt-windows-devices-radiosVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to enumerate available wireless radios (Wi-Fi, Bluetooth) and their current state using the WinRT API. It requires an `asyncio` event loop as most WinRT operations are asynchronous.
Consult the `pywinrt` migration guide for updating code from v2.x to v3.x. Key changes include importing `box_value` from `winrt.system` and using `obj.as_(TargetType)`.
Ensure your development and deployment environment is running Windows. For cross-platform solutions, consider platform-agnostic alternatives.
Always use `await` with WinRT async methods and ensure your application runs within an `asyncio` event loop (e.g., by calling `asyncio.run()` for top-level async functions).
No dependency data recorded yet.