skillfed

winrt-Windows.Devices.Bluetooth.Advertisement

Python projection of Windows Runtime (WinRT) APIs

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

What it is and what it does

This package is a Python projection of the Windows Runtime (WinRT) Bluetooth.Advertisement API, allowing Python code running on Windows to interact with Bluetooth Low Energy (BLE) advertisement scanning and device discovery at the OS level. It is part of the modular PyWinRT ecosystem, where each Windows SDK namespace is published as a separate package; this one specifically exposes the advertisement-related Bluetooth functionality.

The package is Windows-only and requires Python 3.9 or later. It depends on winrt-runtime and is distributed as compiled wheels for multiple Windows architectures (32-bit, 64-bit, ARM64) and Python versions (3.9–3.14). It is typically used alongside other winrt-* packages to build applications that need low-level hardware access—such as BLE device scanning, filtering, and monitoring—directly from Python without wrapping native C++ code.

Use it for:

  • Scan for nearby Bluetooth Low Energy devices and read their advertisement data on Windows
  • Build a Python application that monitors BLE device presence or signal strength in real time
  • Integrate Bluetooth hardware discovery into a Windows desktop or IoT application written in Python
  • Access raw BLE advertisement payloads for custom protocol parsing or device identification

Worth the install?

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

Provides Python bindings to access Windows Runtime Bluetooth advertisement APIs directly from Python on Windows.

Yes, if you are on Windows and need to access Bluetooth advertisement APIs from Python. The package is permissively licensed (MIT), has no known vulnerabilities, and covers Python versions through 3.14. However, maintenance is aging (last release June 2025, last commit December 2025); verify that the API surface and stability meet your requirements before committing to it for production use. Not usable on non-Windows platforms.

Install

winrt-windows-devices-bluetooth-advertisement on PyPI

pip

pip install winrt-windows-devices-bluetooth-advertisement

uv

uv add winrt-windows-devices-bluetooth-advertisement

poetry

poetry add winrt-windows-devices-bluetooth-advertisement

Installing winrt-Windows.Devices.Bluetooth.Advertisement

Before you install

Medium friction: platform-specific wheels for Windows only (32-bit, 64-bit, ARM64) across Python 3.9–3.14. Requires winrt-runtime as a runtime dependency. Last commit December 2025 with aging maintenance status, though no recent breaking changes evident.

License in practice

MIT license permits commercial and private use with minimal restrictions; attribution required.

Quickstart

pip install winrt-windows-devices-bluetooth-advertisement

from winrt.windows.devices.bluetooth.advertisement import BluetoothLEAdvertisementWatcher

watcher = BluetoothLEAdvertisementWatcher()
# Configure and start watching for BLE advertisements

Windows operating system required; wheels available only for Windows (win32, win_amd64, win_arm64). Python 3.9 or later.

Verify before relying

  • Whether this package is actively maintained or in maintenance-only mode given 'aging' status and 434 days since last release
  • Real-world stability and API completeness for Bluetooth advertisement scanning workflows
  • Whether additional WinRT namespace packages must be installed separately 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,320/month — #9,497 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_advertisement-3.2.1-cp310-cp310-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp311-cp311-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp312-cp312-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp313-cp313-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp314-cp314-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp39-cp39-win32.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_devices_bluetooth_advertisement-3.2.1-cp39-cp39-win_arm64.whl

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

Tags

windows bluetooth advertisement pythonwinrt bluetooth scanningble advertisement windows pythonwindows runtime bluetooth apibluetooth device discovery windowswinrt bluetooth bindings
windows-onlyhardware-accessbluetooth

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-Windows.Devices.Bluetooth

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-runtime

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.Media.Ocr

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

winrt-Windows.Graphics.Imaging

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Foundation.Collections

Provides Python bindings for Windows Runtime…

permissive · top 15,000 on PyPI