# hbldh/bleak

A cross platform Bluetooth Low Energy Client for Python using asyncio

Repository: https://github.com/hbldh/bleak
Canonical: https://ross.abutalabs.com/products/bleak
Language: Python
License: MIT
License Family: permissive
Topics: python, python3, bluetooth, bluetooth-low-energy, platform-independent, cross-platform, asyncio, ble
Last push: 2026-08-05T05:56:38+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 70, longevity 100
- inputs: {"age_days": 3051, "days_push": 28, "days_rel": 123, "gap_med": 37.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2501, forks 362 (observed 2026-08-28T04:06:56.928021+00:00)

## What it is
Bleak is a cross-platform Python library providing an asynchronous API for Bluetooth Low Energy (BLE) communication, acting as a GATT client to connect to BLE devices. It supports Windows, Linux (BlueZ), macOS (Core Bluetooth), and Android backends.

## Use cases
- scan for nearby bluetooth low energy devices in python
- connect to a ble sensor and read gatt characteristics
- receive notifications from a bluetooth heart rate monitor
- write data to a ble device from a cross-platform python app
- build a python script to talk to a smart sensor over bluetooth
- discover and list bluetooth devices on windows mac and linux

## When to choose
- you need a single Python API for BLE across Windows, Linux, macOS, or Android
- you want asyncio-based asynchronous BLE communication
- you need to read, write, or subscribe to GATT characteristics on BLE peripherals

## When to avoid
- you need Bluetooth Classic (non-BLE) profiles like SPP or A2DP
- you need a GATT server (peripheral role) rather than a client
- you are not using Python or need non-async blocking APIs

## Facets
- artifact type: library
- maturity: active
- function: sdk, concurrency
- domain: developer-tools, iot, cross-platform
- platform: python, windows, cross-platform
- tags: bluetooth, bluetooth-low-energy, ble, gatt-client, asyncio, sensors, linux, macos, android

## Member repositories
- hbldh/bleak (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:56.928021+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:26:55.329886+00:00, confidence not recorded.
  - readme: https://github.com/hbldh/bleak (fetched 2026-08-28T04:06:56.928021+00:00, sha e5a6ed041fa2)
  - registry_pypi: https://pypi.org/pypi/bleak/json (fetched 2026-08-29T10:09:19.100821+00:00, sha ffbdd5046746)
- Data as of 2026-08-30T08:39:29.467469+00:00.
