Skip to main content
 _                 _     _
| |               | |   | |
| |__  _   _ ____ | |__ | | _____
|  _ \| | | |    \|  _ \| || ___ |
| |_) ) |_| | | | | |_) ) || ____|
|____/|____/|_|_|_|____/ \_)_____)

Bluetooth Stack for Apps, Emulation, Test and Experimentation

Logo

Bumble is a full-featured Bluetooth stack written entirely in Python. It supports most of the common Bluetooth Low Energy (BLE) and Bluetooth Classic (BR/EDR) protocols and profiles, including GAP, L2CAP, ATT, GATT, SMP, SDP, RFCOMM, HFP, HID and A2DP. The stack can be used with physical radios via HCI over USB, UART, or the Linux VHCI, as well as virtual radios, including the virtual Bluetooth support of the Android emulator.

Documentation

Browse the pre-built Online Documentation, or see the documentation source under docs/mkdocs/src, or build the static HTML site from the markdown text with:

mkdocs build -f docs/mkdocs/mkdocs.yml

Usage

Getting Started

For a quick start to using Bumble, see the Getting Started guide.

Dependencies

To install package dependencies needed to run the bumble examples, execute the following commands:

python -m pip install --upgrade pip
python -m pip install ".[all]" --group dev

Examples

Refer to the Examples Documentation for details on the included example scripts and how to run them.

The complete list of Examples, and what they are designed to do is here.

There are also a set of Apps and Tools that show the utility of Bumble.

Using Bumble With a USB Dongle

Bumble is easiest to use with a dedicated USB dongle. This is because internal Bluetooth interfaces tend to be locked down by the operating system. You can use the usb_probe tool (all platforms) or lsusb (Linux or macOS) to list the available USB devices on your system.

See the USB Transport page for details on how to refer to USB devices. Also, if you are on a mac, see these instructions.

License

Licensed under the Apache 2.0 License.

Disclaimer

This is not an official Google product.

This library is in alpha and will be going through a lot of breaking changes. While releases will be stable enough for prototyping, experimentation and research, we do not recommend using it in any production environment yet. Expect bugs and sharp edges. Please help by trying it out, reporting bugs, and letting us know what you think!

Metadata

Release files for bumble 0.0.236

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bumble 0.0.236
File Size Uploaded
bumble-0.0.236.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bumble 0.0.236
File Interpreter ABI Platform
bumble-0.0.236-py3-none-any.whl Python 3 none any Details

Total release size: 3.1 MB

Release files / bumble-0.0.236.tar.gz

Download URL bumble-0.0.236.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
cea9fbd8b8a9ff78567bc4a97b35d54c72fcf10109476a24518d01394fbbd982
BLAKE2b-256 checksum
How to use checksums
5a7155348d9a32537549b3bb62075ff16fa0381191e1396ed44d37369ed46ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / bumble-0.0.236-py3-none-any.whl

Download URL bumble-0.0.236-py3-none-any.whl
Size 690.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e31b0f9fc49112538638040f38bfb19feefd7a5038340fc33f1607372f342052
BLAKE2b-256 checksum
How to use checksums
5fe10aa861a4e035bdc7d786d20c3b78a559e9f0c857fce06b02ec6a4d969a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.0.236 This release

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.8

2 release files

0.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page