usb-devices
Tools for mapping, describing, and resetting USB devices
Decision gist · record as of 2026-08-14
Yes, if you need programmatic USB device enumeration or reset. Low install friction, no dependencies, permissive license, and active maintenance make it a safe choice. Pre-alpha status means the API may change, so pin the version in production. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; system-level USB device access may require elevated privileges depending on OS and device permissions.
- Low friction: pure Python wheel with no runtime dependencies.
- Active maintenance with recent commits, though pre-alpha status (Development Status :: 2) signals the API may still change.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2026-05-27 (79 days) · last repo commit 2026-08-10 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 673,171 downloads/mo, #5,398 on PyPI
Alternatives
Verify before relying
pip install usb-devices
from usb_devices import list_devices
devices = list_devices()
for device in devices:
print(device.manufacturer, device.product)- Whether the package works on Windows, macOS, and Linux equally or has platform-specific limitations.
- Whether device reset operations require root/administrator privileges on all platforms.
- API stability guarantees given pre-alpha status and how breaking changes are communicated.
What it is and what it does
usb-devices is a lightweight Python library for querying and controlling USB devices on a system. It exposes device metadata—manufacturer, product name, vendor ID, product ID, bus and device numbers—and provides a reset operation for devices like Bluetooth adapters. The package has no runtime dependencies and installs as a pure Python wheel, making it quick to add to any project.
The library is in pre-alpha development but actively maintained, with recent commits and support for Python 3.10 through 3.14. It is designed for developers who need programmatic access to USB device information or the ability to reset devices without shell commands, particularly useful for Bluetooth device management and hardware troubleshooting workflows.
Use it for
- Enumerate all USB devices on a system and extract their metadata for inventory or diagnostic logging.
- Reset a Bluetooth adapter (hci device) programmatically when it becomes unresponsive.
- Build a hardware management tool that needs to query or control USB peripherals without spawning shell processes.
- Automate device detection and initialization in embedded or IoT applications.
- Debug USB device conflicts by listing all connected devices and their IDs in a Python script.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need programmatic USB device enumeration or reset.
Low install friction, no dependencies, permissive license, and active maintenance make it a safe choice. Pre-alpha status means the API may change, so pin the version in production. No known vulnerabilities.
Install
usb-devices on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent commits, though pre-alpha status (Development Status :: 2) signals the API may still change.
Requires Python 3.10 or later; system-level USB device access may require elevated privileges depending on OS and device permissions.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install usb-devices
from usb_devices import list_devices
devices = list_devices()
for device in devices:
print(device.manufacturer, device.product)
Verify before relying
- Whether the package works on Windows, macOS, and Linux equally or has platform-specific limitations.
- Whether device reset operations require root/administrator privileges on all platforms.
- API stability guarantees given pre-alpha status and how breaking changes are communicated.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 79 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 673,171 / month, #5,398 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: usb_devices-0.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “usb device enumeration”
- usb-devicesMaps, describes, and resets USB devices on a system, providing access…
- winrt-Windows.Devices.EnumerationProvides Python bindings to Windows Runtime (WinRT) APIs for device…
- pyusbPyUSB provides Python access to USB devices on the host machine…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also bluetooth-adapters · uart-devices · bluetooth-sensor-state-data · xiaomi-ble · govee-ble · brainstem · aiousbwatcher · hid · blkinfo · bluezoo