--- id: bleak version: "3.0.2" license: MIT license_treatment: permissive maintenance: active --- # bleak — Bluetooth Low Energy platform Agnostic Klient License: permissive · Maintenance: active · Downloads: 2.1M/mo ## What it is and what it does Bleak is a cross-platform async Python library for building Bluetooth Low Energy (BLE) clients that connect to and communicate with BLE devices. It abstracts away platform differences using native APIs on Windows, macOS, Linux, and Android, so you write one async/await-based client that works everywhere. The library handles device discovery, GATT characteristic reading and writing, and subscription to notifications from BLE sensors and peripherals. Typical use involves discovering nearby BLE devices, connecting to a specific device by address, and then reading or writing GATT characteristics identified by UUID. All operations are async, making it suitable for applications that need to manage multiple concurrent BLE connections or integrate BLE communication into larger async event loops. The library depends on platform-specific system libraries and Python 3.10 or later. Use it for: - Discover and connect to BLE fitness trackers, smartwatches, or health sensors to read real-time data - Build IoT applications that communicate with BLE-enabled environmental sensors or industrial devices - Create cross-platform desktop or mobile apps that interface with Bluetooth peripherals without platform-specific code - Read notifications and characteristic values from BLE GATT servers in real-time monitoring systems - Prototype and test BLE device firmware by scripting client-side interactions with test devices ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Bleak is an async Python client for connecting to and communicating with Bluetooth Low Energy (BLE) devices acting as GATT servers across Windows, macOS, Linux, and Android. Yes. Bleak is actively maintained, widely used (top 5000 PyPI), has no known vulnerabilities, and offers a clean async API for BLE communication across major platforms. Install it if you need to communicate with BLE devices from Python. The main gotcha is platform-specific system dependencies and the Python 3.10 or later requirement—verify those match your environment before committing. ## Install pip install bleak uv add bleak poetry add bleak ## Installing bleak Before you install: Low install friction with a pure-wheel distribution. Active maintenance with a recent commit on 2026-08-05 and 2491 repository stars. Requires Python 3.10 or later. Runtime dependencies are platform-specific, so actual install complexity varies by OS. License in practice: MIT license (permissive) means you can use, modify, and distribute Bleak freely in both open-source and proprietary projects with minimal restrictions—only attribution is required. Quickstart: import asyncio from bleak import BleakScanner, BleakClient async def discover(): devices = await BleakScanner.discover() return devices async def read_characteristic(address, uuid): async with BleakClient(address) as client: value = await client.read_gatt_char(uuid) return value asyncio.run(discover()) Requires Python 3.10 or later. Platform-specific system libraries required. Do not name your script 'bleak.py' as it causes circular import errors. Verify before relying: - Whether all 15 runtime dependencies are required on all platforms or only conditionally installed per OS - Specific version constraints for system libraries beyond Windows 11 version 22000 and BlueZ 5.55 ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 2.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags bluetooth low energy client, BLE GATT client python, async bluetooth device communication, cross-platform BLE python, bluetooth sensor reading, wireless device discovery python, BLE device notifications, bluetooth, iot, async [View on SkillFed](https://skillfed.io/packages/bleak) · [View on PyPI](https://pypi.org/project/bleak/)