skillfed

winrt-Windows.Devices.Bluetooth

Python projection of Windows Runtime (WinRT) APIs

winrt-windows-devices-bluetooth v3.2.1 212.4K downloads/30d#9,457 on PyPI196
Permissive license MIT AGING released

What it is and what it does

winrt-Windows.Devices.Bluetooth is a Python projection of the Windows Runtime Bluetooth API, part of the modular PyWinRT ecosystem. It lets you interact with Bluetooth hardware directly from Python on Windows, including device discovery, connection management, and data exchange. The package is one of many namespace-specific bindings generated from the Windows SDK; you install only the Bluetooth module rather than a monolithic WinRT package.

The package depends on winrt-runtime and targets Python 3.9 and later on Windows (32-bit, 64-bit, and ARM64). It is maintained by the community as a successor to Microsoft's original monolithic winrt package and the interim winsdk fork. The codebase is aging but receives updates; the last commit was in December 2025.

Use it for:

  • Discover and enumerate Bluetooth devices on a Windows system for device management or diagnostics.
  • Establish connections to Bluetooth peripherals (headsets, sensors, controllers) from a Python application.
  • Read and write data to Bluetooth Low Energy (BLE) characteristics for IoT or wearable integration.
  • Build Windows desktop or automation tools that require Bluetooth hardware control without C++ or C#.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Windows Runtime Bluetooth APIs, enabling direct access to Bluetooth hardware and device management from Python on Windows.

Yes, if you are on Windows and need Bluetooth hardware access from Python. The MIT license is permissive, the package is maintained, and it has no known vulnerabilities. Install friction is moderate due to platform specificity and compiled dependencies, but that is unavoidable for WinRT bindings. Not suitable for cross-platform projects.

Install

winrt-windows-devices-bluetooth on PyPI

pip

pip install winrt-windows-devices-bluetooth

uv

uv add winrt-windows-devices-bluetooth

poetry

poetry add winrt-windows-devices-bluetooth

Installing winrt-Windows.Devices.Bluetooth

Before you install

Medium install friction due to platform-specific wheels (Windows only, Python 3.9–3.14) and a compiled runtime dependency. The package is aging but actively maintained; last commit December 2025.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install winrt-Windows.Devices.Bluetooth

from winrt.windows.devices.bluetooth import BluetoothDevice
# Access Bluetooth devices via WinRT APIs

Windows operating system required; wheels available only for Windows (win32, win_amd64, win_arm64) and Python 3.9–3.14. Requires winrt-runtime as a runtime dependency.

Verify before relying

  • Specific Bluetooth capabilities exposed (pairing, scanning, GATT operations, etc.) not detailed in the excerpt.
  • Whether async/await patterns are required or optional for Bluetooth operations.
  • Performance characteristics or latency expectations for real-time Bluetooth communication.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — winrt-runtime
Maintenance aging — 434 days since the last release
Last repo commit
First released
Downloads 212,401/month — #9,457 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: winrt_windows_devices_bluetooth-3.2.1-cp310-cp310-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_devices_bluetooth-3.2.1-cp311-cp311-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_devices_bluetooth-3.2.1-cp312-cp312-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_devices_bluetooth-3.2.1-cp313-cp313-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_devices_bluetooth-3.2.1-cp314-cp314-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_devices_bluetooth-3.2.1-cp39-cp39-win32.whl; winrt_windows_devices_bluetooth-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_devices_bluetooth-3.2.1-cp39-cp39-win_arm64.whl

Intended Audience :: DevelopersOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPython

Tags

windows bluetooth pythonwinrt bluetooth apipython bluetooth windowswindows devices bluetoothbluetooth device control pythonwinrt hardware accesspython windows runtime bluetooth
windows-onlybluetoothhardware-access

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

winrt-runtime

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth.Advertisement

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth.GenericAttributeProfile

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Radios

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Foundation

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Enumeration

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Storage.Streams

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

btsocket

A Python library for controlling BlueZ…

permissive · top 15,000 on PyPI

winrt-Windows.Media.Ocr

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Globalization

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI