Skip to content

Tools for mapping, describing, and resetting USB devices.

License

Notifications You must be signed in to change notification settings

Bluetooth-Devices/usb-devices

Repository files navigation

USB Devices

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

usb_devices

Installation

Install this via pip (or your favourite package manager):

pip install usb-devices

Usage

# python3 examples/info.py
hci0 manufacturer: Realtek, product: Bluetooth 5.1 Radio, vendor_id: 0bda, product_id: a725, bus_id: 1, dev_num: 11
hci1 manufacturer: Realtek, product: Bluetooth Radio, vendor_id: 2550, product_id: 8761, bus_id: 1, dev_num: 8
hci2 manufacturer: Realtek, product: Bluetooth Radio, vendor_id: 2550, product_id: 8761, bus_id: 1, dev_num: 7
hci3 manufacturer: Realtek, product: Bluetooth Radio, vendor_id: 2550, product_id: 8761, bus_id: 1, dev_num: 4
hci4 not found
hci5 not found
hci6 not found
hci7 not found
hci8 not found
# python3 examples/reset.py
Reset of hci0 succeeded

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

This package was created with Copier and the browniebroke/pypackage-template project template.