usb_devices
Install this via pip (or your favourite package manager):
pip install usb-devices
# 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
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This package was created with Copier and the browniebroke/pypackage-template project template.