RepositoryPython
hbldh

hbldh/bleak

A cross platform Bluetooth Low Energy Client for Python using asyncio

2.6kstars
378forks
87issues
8views

📡 Bleak: Cross-Platform BLE in Python with asyncio

Async, platform-agnostic Bluetooth Low Energy client for Python.

Bleak (Bluetooth Low Energy platform Agnostic Klient) is a free MIT-licensed Python library by hbldh for working with BLE devices as a GATT client. It provides an asynchronous, cross-platform API to discover devices, connect to GATT servers, and communicate with hardware like sensors.

✨ Highlights

  • Cross-platform backends: Supports Windows 11 (version 22000+), Linux with BlueZ >= 5.55, macOS/OS X via Core Bluetooth (10.15+), and Android via python-for-android.
  • Asyncio-first API: Uses async/await for non-blocking BLE operations.
  • Device discovery: BleakScanner.discover() finds nearby connectable Bluetooth devices.
  • GATT read/write: Connect with BleakClient to read and write GATT characteristics (e.g., Model Number 2A24).
  • Notifications support: Receives notifications from GATT servers.
  • Simple install: Available on PyPI via pip install bleak.
  • Practical examples: Includes example code, including connecting to a TI SensorTag CC2650.

💡 Why it matters

Bleak removes much of the platform-specific friction in BLE development by exposing one Python API across major operating systems. Instead of juggling different native BLE stacks directly, developers can use familiar asyncio patterns for scanning, connecting, and exchanging GATT data.

It fits best for Python projects that need to talk to BLE sensors, peripherals, or embedded devices across desktop and mobile environments, especially when async workflows and portability matter.


#Python #BluetoothLowEnergy #AsyncIO #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
Polidea/RxBluetoothKit

iOS & OSX Bluetooth library for RxSwift

1.4k
Mar 5, 2024
RepositoryC
h2zero/NimBLE-Arduino

A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.

1.2k
Nov 27, 2026
RepositoryPython
home-assistant/core

:house_with_garden: Open source home automation that puts local control and privacy first.

92.6k
Nov 27, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryPython
Asabeneh/30-Days-Of-Python

The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw

80.0k
Sep 30, 2026
RepositoryPython
XiaoYouChR/Ghost-Downloader-3

The only downloader you need. 下载器的集大成者。

23.3k
Dec 2, 2026
RepositoryPython
agittins/bermuda

Bermuda Bluetooth/BLE Triangulation / Trilateration for HomeAssistant

2.2k
Dec 2, 2026
RepositoryPython
dannymcc/bluehood

Monitor your local neighbourhood's bluetooth activity

1.2k
Sep 12, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026