--- id: winrt-windows-devices-enumeration version: "3.2.1" license: MIT license_treatment: permissive maintenance: aging --- # winrt-Windows.Devices.Enumeration — Python projection of Windows Runtime (WinRT) APIs License: permissive · Maintenance: aging · Downloads: 213.0K/mo ## What it is and what it does This package is a Python binding to the Windows Runtime (WinRT) Devices.Enumeration namespace, part of the modular PyWinRT project. It lets you discover and enumerate hardware devices—Bluetooth, USB, serial ports, cameras, and other peripherals—directly from Python code on Windows. The binding is auto-generated from the Windows SDK and wraps the native WinRT API, so you work with familiar Python async/await patterns to interact with Windows device discovery APIs. The package is Windows-only and requires Python 3.9 or later, plus the winrt-runtime dependency. It's one of many modular winrt-* namespace packages published by the PyWinRT community since September 2023, replacing the older monolithic winrt package. If you're building Windows desktop tools, hardware utilities, or integrations that need to discover or interact with connected devices, this binding provides direct access to the underlying Windows device enumeration infrastructure. Use it for: - Discover and enumerate Bluetooth devices, USB peripherals, or serial ports programmatically on Windows. - Build Windows desktop utilities that detect and list connected hardware without calling external CLI tools. - Integrate device discovery into Python-based hardware management or IoT applications on Windows. - Access camera or other sensor device information from Python for Windows-based applications. - Automate device detection workflows in Windows system administration or testing scripts. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to Windows Runtime (WinRT) APIs for device enumeration, enabling access to hardware like Bluetooth, USB, serial ports, and cameras directly from Python. Yes, if you are building Windows-only applications that need direct access to device enumeration APIs and are comfortable with the async/await pattern. The package is actively maintained (last commit December 2025), MIT-licensed, and has no known vulnerabilities. Install friction is moderate due to Windows-only wheels and the requirement for winrt-runtime, but that is inherent to the use case. Not suitable for cross-platform projects. ## Install pip install winrt-windows-devices-enumeration uv add winrt-windows-devices-enumeration poetry add winrt-windows-devices-enumeration ## Installing winrt-Windows.Devices.Enumeration Before you install: Medium install friction: Windows-only wheels for Python 3.9–3.14 (win32, win_amd64, win_arm64). Requires winrt-runtime as a runtime dependency. Last release was 2025-06-06 with repo activity through 2025-12-11, though maintenance status is aging. License in practice: MIT license permits commercial and private use with minimal restrictions; attribution required but no copyleft obligations. Quickstart: pip install winrt-windows-devices-enumeration from winrt.windows.devices.enumeration import DeviceInformation # Enumerate devices (example pattern from PyWinRT ecosystem) devices = await DeviceInformation.find_all_async() Windows-only; requires Python 3.9 or later and winrt-runtime installed. Async/await pattern requires asyncio context. Verify before relying: - Specific device enumeration capabilities (Bluetooth, USB, serial, camera) and their API surface within this namespace binding. - Whether this package is typically used standalone or as part of a larger winrt-* namespace collection. - Current adoption and real-world usage patterns beyond download metrics. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: aging - Downloads: 213.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags windows device enumeration python, winrt device discovery, bluetooth usb serial ports python, windows hardware access python, winrt api bindings, enumerate windows devices, hardware enumeration winrt, windows-only, hardware-enumeration, async-api [View on SkillFed](https://skillfed.io/packages/winrt-windows-devices-enumeration) · [View on PyPI](https://pypi.org/project/winrt-windows-devices-enumeration/)