bluetooth-data-tools
Tools for converting bluetooth data and packets
Decision gist · record as of 2026-08-14
Yes, if you work with Bluetooth Low Energy data parsing or device discovery. The library is actively maintained, has no known vulnerabilities, supports modern Python versions, and provides a clean API for common BLE operations. Medium install friction is typical for platform-specific packages and not a barrier. The Apache-2.0 license is unrestrictive.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; cryptography dependency must be installed.
- Medium install friction due to platform-specific wheels; active maintenance with a recent release (19 days ago) and current Python version support through 3.14.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-07-26 (19 days) · last repo commit 2026-08-10 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,260,237 downloads/mo, #2,345 on PyPI
Alternatives
Verify before relying
pip install bluetooth-data-tools
from bluetooth_data_tools import parse_advertisement_data_bytes
parsed = parse_advertisement_data_bytes(raw_bytes)
local_name, service_uuids, service_data, manufacturer_data, tx_power = parsed- Whether the Cython-optimized monotonic_time_coarse on Linux provides measurable performance benefit for typical workloads.
- Compatibility with non-x86_64 architectures beyond the manylinux wheel provided.
What it is and what it does
Bluetooth Data Tools is a library for parsing and working with Bluetooth Low Energy (BLE) advertisement data and related metadata. It provides structured access to GAP advertisement fields (local name, service UUIDs, service data, manufacturer data, TX power) via both functional and object-oriented interfaces, plus utilities for converting between integer and MAC address formats, extracting short addresses, and formatting human-readable device names.
The package also includes distance estimation from TX power and RSSI measurements, a fast monotonic clock optimized for Bluetooth event timing (using CLOCK_MONOTONIC_COARSE on Linux via Cython), and private address resolution for BLE random addresses using Identity Resolving Keys. It depends on cryptography for the IRK-based address matching and is actively maintained with support for Python 3.10 through 3.14.
Use it for
- Parse raw BLE advertisement packets into structured fields for device discovery and filtering.
- Convert between Bluetooth MAC address formats and integers for storage or comparison.
- Estimate distance to a Bluetooth device based on TX power and received signal strength.
- Resolve random private addresses in BLE traffic using an Identity Resolving Key.
- Format device names with short addresses for user-facing display in Bluetooth applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with Bluetooth Low Energy data parsing or device discovery.
The library is actively maintained, has no known vulnerabilities, supports modern Python versions, and provides a clean API for common BLE operations. Medium install friction is typical for platform-specific packages and not a barrier. The Apache-2.0 license is unrestrictive.
Install
bluetooth-data-tools on PyPI
Before you install
Medium install friction due to platform-specific wheels; active maintenance with a recent release (19 days ago) and current Python version support through 3.14.
Requires Python 3.10 or later; cryptography dependency must be installed.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install bluetooth-data-tools
from bluetooth_data_tools import parse_advertisement_data_bytes
parsed = parse_advertisement_data_bytes(raw_bytes)
local_name, service_uuids, service_data, manufacturer_data, tx_power = parsed
Verify before relying
- Whether the Cython-optimized monotonic_time_coarse on Linux provides measurable performance benefit for typical workloads.
- Compatibility with non-x86_64 architectures beyond the manylinux wheel provided.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagecryptography |
| Maintenance | Actively maintained 19 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,260,237 / month, #2,345 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: bluetooth_data_tools-1.29.21-cp314-cp314-manylinux_2_41_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “bluetooth ble advertisement parsing”
- bluetooth-data-toolsParses and manipulates Bluetooth Low Energy advertisement data,…
- ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low Energy) advertisement…
- home-assistant-bluetoothProvides standardized data models and helpers for working with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also convertertools · ibeacon-ble · bthome-ble · aioblescan · bluetooth-sensor-state-data · home-assistant-bluetooth · sensor-state-data · oralb-ble · govee-ble · inkbird-ble