Skip to content

usbbluetooth/usbbluetooth-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USB Bluetooth

Build CodeQL PyPI Python versions Snyk package health OpenSSF Scorecard License: GPL v3

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.

About

UsbBluetooth python package

Topics

Resources

License

Stars

3 stars

Watchers

2 watching

Forks

Contributors

Languages