USB Bluetooth
Take full control of your USB Bluetooth controllers from Python!
If you want to use this library with Scapy, please check out scapy-usbbluetooth.
For general documentation about the project, please visit usbbluetooth.github.io.
For a C version of this library, check out UsbBluetooth for C.
For a C# version of this library, check out UsbBluetooth for C#.
Installation
Just use pip :)
pip install usbbluetooth
Usage
Once installed, you may list devices using usbbluetooth.list_controllers(), and for each device you may open() the device, write() and read() to them and close() it once you are done.
See the examples folder for some sample code.
Plaform quirks
This package has some requirements to work because of different platform particularities. To make sure the package works, please, see https://usbbluetooth.github.io/quirks/
History
Package versions < 0.1 were bindings around the original C library.
The history for those packages can be found in the usbbluetooth repository in the respective tags.
Package versions >= 0.1 are developed in this repo and based of pyusb, the Python LibUSB binding.
Metadata
Release files for usbbluetooth 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| usbbluetooth-0.3.0.tar.gz | 44.5 kB | With provenance | Details for usbbluetooth-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| usbbluetooth-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for usbbluetooth-0.3.0-py3-none-any.whl |
Total release size: 77.5 kB
Release files / usbbluetooth-0.3.0.tar.gz
| Download URL | usbbluetooth-0.3.0.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c057f46c95be141e480933021b4bbe054c8fccee5aab8e1a263c42494e7e241
|
|
BLAKE2b-256 checksum How to use checksums |
09917bd251cd65e3a9db4d49dd79a0f274f77d18cf478f70bc185242661a5b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / usbbluetooth-0.3.0-py3-none-any.whl
| Download URL | usbbluetooth-0.3.0-py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19b56d0f70aefb874fbd92f8ced09f4d701ba89397a7f0e5cb6f0f0047ccf702
|
|
BLAKE2b-256 checksum How to use checksums |
ab4850cd803204bfb0bd66be7a8a5e1c0b003b5f79069c97f2ee3fda3b20735d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logSecurity for usbbluetooth 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for usbbluetooth-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.