Python Bluetooth

Python BLE libraries, compared

Five ways to reach Bluetooth Low Energy from Python. SimpleBLE runs on Windows, macOS, and Linux from one pip install, as a central and a peripheral, with a blocking API and an asyncio API.

Kober Engineering
InsuLearn
Meta
Fender
Honeywell
Bionic Labs
Sona
SWT
Moon Smart Focus
Lewitt
Medra
Desko
g.tec
IXI
Innovision
Moonlighting Industries
Kober Engineering
InsuLearn
Meta
Fender
Honeywell
Bionic Labs
Sona
SWT
Moon Smart Focus
Lewitt
Medra
Desko
g.tec
IXI
Innovision
Moonlighting Industries
Kober Engineering
InsuLearn
Meta
Fender
Honeywell
Bionic Labs
Sona
SWT
Moon Smart Focus
Lewitt
Medra
Desko
g.tec
IXI
Innovision
Moonlighting Industries
Comparison

How the Python BLE libraries compare

Platforms, roles, and licensing decide which library fits a commercial Python tool or product. This is where each one stands.

How the Python BLE libraries compare
SimpleBLEsimplepybleWindows, macOS, LinuxCentral and peripheralC++, C#, Kotlin, Rust, and moreSource-available (BUSL 1.1); one commercial license per company
BleakbleakWindows, macOS, Linux, AndroidCentralPython onlyMIT
BlessblessWindows, macOS, LinuxPeripheralPython onlyMIT
bluepybluepyLinuxCentralPython onlyGPL v2 and public domain
pygattpygattLinux through gatttool, or a BLED112 adapterCentralPython onlyApache 2.0 and MIT
The options

The Python BLE libraries, one by one

SimpleBLE

SimpleBLE is a Bluetooth Low Energy library for Windows, macOS, Linux, iOS, and Android. Its Python package, SimplePyBLE, scans and connects as a central and hosts GATT services as a peripheral, with a blocking API for scripts and an asyncio API for services. The wheels carry the native library for every platform, so pip installs it without compiling anything. The same library runs in C++, C#, Kotlin, Rust, and other languages, and commercial customers work directly with the engineers who build it.

Bleak

Bleak is an asyncio GATT client for Windows, macOS, Linux, and Android through python-for-android, under the MIT license. It works in the central role, so a tool that also advertises or hosts GATT services adds a second library, such as Bless, for that side. SimpleBLE covers both roles in one package.

Bless

Bless is a GATT server library for Windows, macOS, and Linux, under the MIT license. It works in the peripheral role and points to Bleak for the central side, so a tool that does both pairs two libraries with two APIs. SimpleBLE does both with one.

bluepy

bluepy is a central-role library for Linux, built on a helper from BlueZ. Its BlueZ-derived code is under the GPL v2, and its Python files are in the public domain. Scripts that also run on Windows or macOS need a different library.

pygatt

pygatt reaches BLE devices through BlueZ's gatttool on Linux or through a Silicon Labs BLED112 USB adapter. Its repository was archived in April 2026 and is read-only. SimpleBLE replaces both paths: the computer's own Bluetooth on every desktop platform, or a Dongl USB adapter in place of the BLED112.

Get started

Scan, connect, and host in a few lines

Install it with pip install simplepyble. This is the code for each step, and simplepyble.aio has the same API for asyncio.

import simplepyble

adapter = simplepyble.Adapter.get_adapters()[0]

adapter.scan_for(5000)
for peripheral in adapter.scan_get_results():
    print(f"{peripheral.identifier()} [{peripheral.address()}]")
Why SimpleBLE

What SimpleBLE gives your Python tools

Platforms

Windows, macOS, and Linux

One pip install, nothing to compile, on every desktop.

Roles

Central and peripheral

Scan and connect, or advertise and serve GATT, from one package.

Python

Blocking or asyncio

Plain calls for scripts, coroutines for services. Same API, type hints included.

Hardware

Dongl on desktop

Plug in a Dongl for a dedicated radio on Windows, macOS, or Linux. Same code.

Products

From script to product

Ship the same library in C++, C#, Kotlin, or Swift when the prototype becomes a product.

Support

A direct line to the engineers

Commercial customers work directly with the team that builds SimpleBLE.

Try SimpleBLE in your Python tools

Evaluation needs no license. For commercial use, one agreement covers your whole company, with no per-seat, per-device, or royalty fees.

Frequently
asked questions

SimpleBLE, Bleak, and Bless run on Windows, macOS, and Linux. bluepy runs on Linux, and pygatt uses gatttool on Linux or a BLED112 adapter.

Yes. SimpleBLE hosts GATT services and advertises on Windows, macOS, and Linux, in the same package it uses as a central. Bless also works as a peripheral, and pairs with Bleak for the central side.

Yes. simplepyble.aio has the same API as the blocking module. Calls that wait on the Bluetooth stack are coroutines, and callbacks can be functions or coroutines that run on the event loop that registered them.

Install simplepyble, then move scanning, connections, and GATT calls one flow at a time with simplepyble.aio, which keeps your code on asyncio. Characteristics are addressed by service and characteristic UUID strings, and values are bytes.

SimpleBLE replaces pygatt's gatttool path with the computer's own Bluetooth on Windows, macOS, and Linux, and a Dongl USB adapter replaces the BLED112 with the same Python code.

SimpleBLE is source-available under the Business Source License 1.1 and free for non-commercial use. Evaluation needs no license. Commercial use needs a license, and one agreement covers your whole company, with no per-seat, per-device, or royalty fees.