aiousbwatcher
Watch for USB devices to be plugged and unplugged
Decision gist · record as of 2026-08-14
Yes, if you need asyncio-based USB device monitoring. Low install friction, permissive license, and active maintenance make it a straightforward choice. Pre-alpha status means the API may change, so pin the version in production. No known vulnerabilities. Verify that asyncinotify meets your platform requirements before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later; depends on asyncinotify for file system event monitoring.
- Low friction install with a single runtime dependency (asyncinotify).
- Active maintenance with a recent release (115 days ago) and current Python support (3.12, 3.13).
License · maintenance · safety
MIT (permissive) — MIT license is permissive—you can use, modify, and distribute this package freely with minimal restrictions.
last release 2026-04-21 (115 days) · last repo commit 2026-08-10 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 104,270 downloads/mo, #12,756 on PyPI
Alternatives
Verify before relying
pip install aiousbwatcher
import asyncio
from aiousbwatcher import USBWatcher
async def main():
watcher = USBWatcher()
async for event in watcher:
print(event)- Whether asyncinotify is available on all operating systems or limited to Linux/Unix-like systems.
- Specific USB device attributes (vendor ID, product ID, serial number) exposed by the watcher.
- Whether the watcher works with USB hubs or only direct connections.
What it is and what it does
aiousbwatcher is an asyncio-based library for monitoring USB device connections and disconnections in real time. It wraps file system event monitoring (via asyncinotify) to detect when USB devices are plugged in or removed, allowing Python applications to react immediately to hardware changes without polling.
The package is designed for developers building tools that need to respond to USB device events—such as device managers, firmware updaters, or hardware-aware applications. It integrates with asyncio's event loop, making it suitable for concurrent applications. The library is in pre-alpha status, actively maintained, and supports modern Python versions (3.12 and 3.13).
Use it for
- Detect when a specific USB device is connected to automatically initialize or configure it.
- Monitor for device disconnections to clean up resources or alert users of unexpected removals.
- Build a device manager UI that updates in real time as USB hardware is plugged and unplugged.
- Trigger firmware updates or driver installations when compatible devices are detected.
- Log USB device events for hardware audit or troubleshooting purposes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need asyncio-based USB device monitoring.
Low install friction, permissive license, and active maintenance make it a straightforward choice. Pre-alpha status means the API may change, so pin the version in production. No known vulnerabilities. Verify that asyncinotify meets your platform requirements before committing.
Install
aiousbwatcher on PyPI
Before you install
Low friction install with a single runtime dependency (asyncinotify). Active maintenance with a recent release (115 days ago) and current Python support (3.12, 3.13).
Requires Python 3.12 or later; depends on asyncinotify for file system event monitoring.
License in practice
MIT license is permissive—you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install aiousbwatcher
import asyncio
from aiousbwatcher import USBWatcher
async def main():
watcher = USBWatcher()
async for event in watcher:
print(event)
Verify before relying
- Whether asyncinotify is available on all operating systems or limited to Linux/Unix-like systems.
- Specific USB device attributes (vendor ID, product ID, serial number) exposed by the watcher.
- Whether the watcher works with USB hubs or only direct connections.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageasyncinotify |
| Maintenance | Actively maintained 115 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 104,270 / month, #12,756 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 :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries |
Evidence: aiousbwatcher-1.1.2-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 detection asyncio”
- aiousbwatcherWatches for USB devices being plugged in and unplugged using asyncio,…
- usb-devicesMaps, describes, and resets USB devices on a system, providing access…
- numato-gpioProvides a Python API to control Numato USB GPIO expander devices…
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 aiodhcpwatcher · async-interrupt · aiooui · aiozoneinfo · usb-devices · aiovlc · unifi-discovery · govee-ble · bluetooth-adapters · joulescope