winrt-Windows.Devices.Bluetooth.GenericAttributeProfile
Python projection of Windows Runtime (WinRT) APIs
What it is and what it does
This package is a Python projection of the Windows Runtime Bluetooth Generic Attribute Profile API, part of the broader PyWinRT ecosystem that exposes Windows SDK namespaces to Python. It allows developers to interact with Bluetooth devices using the GATT protocol directly from Python code on Windows systems, handling the low-level marshalling between Python and the native WinRT layer.
The package is one of many modular winrt-* bindings generated from the Windows SDK; it depends on winrt-runtime to function. It targets developers building Bluetooth-enabled applications on Windows who need programmatic access to GATT services and characteristics. The binding is generated by the PyWinRT code generation tool and follows the standard WinRT async patterns, typically requiring asyncio for real-world use.
Use it for:
- Enumerate and connect to Bluetooth Low Energy (BLE) devices from a Windows application.
- Read and write GATT characteristics on remote Bluetooth devices.
- Monitor Bluetooth device notifications and events in a Windows service or desktop app.
- Build a Bluetooth peripheral scanner or device manager in pure Python on Windows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to access Windows Runtime Bluetooth Generic Attribute Profile (GATT) APIs, enabling Bluetooth device communication from Python on Windows.
Yes, if you are building a Bluetooth application on Windows and need GATT-level access. The MIT license is permissive, the package is stable (no known vulnerabilities), and it fills a genuine gap for Python developers who would otherwise need to call WinRT directly or use lower-level APIs. The aging maintenance status and Windows-only platform support are expected constraints, not red flags—this is a thin binding to a stable OS API. Install it if your use case matches; do not install if you need cross-platform Bluetooth support.
Install
winrt-windows-devices-bluetooth-genericattributeprofile on PyPI
pip
pip install winrt-windows-devices-bluetooth-genericattributeprofileuv
uv add winrt-windows-devices-bluetooth-genericattributeprofilepoetry
poetry add winrt-windows-devices-bluetooth-genericattributeprofileInstalling winrt-Windows.Devices.Bluetooth.GenericAttributeProfile
Before you install
Medium friction: platform-specific wheels for Windows only (Python 3.9–3.14, win32/amd64/arm64). Requires winrt-runtime as a runtime dependency. Maintenance status is aging—last commit 2025-12-11, no recent activity signal beyond that.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.
Quickstart
pip install winrt-windows-devices-bluetooth-genericattributeprofile
from winrt.windows.devices.bluetooth.genericattributeprofile import GattDeviceService
# Requires winrt-runtime and a Windows system with Bluetooth hardware
Windows-only; requires Python 3.9 or later and a system with Bluetooth hardware support.
Verify before relying
- Whether this package is actively maintained or in maintenance-only mode given the aging status.
- Specific Bluetooth GATT operations supported and any limitations compared to native Windows APIs.
- Whether asyncio integration is required or optional for typical use cases.
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 | 210,395/month — #9,494 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_genericattributeprofile-3.2.1-cp310-cp310-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp311-cp311-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp312-cp312-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp313-cp313-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp314-cp314-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp39-cp39-win32.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_devices_bluetooth_genericattributeprofile-3.2.1-cp39-cp39-win_arm64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
winrt-Windows.Devices.BluetoothProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-runtimeProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.Bluetooth.AdvertisementProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
winrt-Windows.FoundationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.RadiosProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
bumbleBumble is a full-featured Bluetooth stack…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.EnumerationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Storage.StreamsProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Foundation.CollectionsProvides Python bindings for Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.GlobalizationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI