{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Hardware","url":"https://skillfed.io/packages/category/system-hardware"},{"label":"Linux","url":"https://skillfed.io/packages/category/system-operating-system-kernels-linux"}],"enrichment":{"capability":"pyudev is a pure Python binding for libudev that lets you enumerate, query, and monitor Linux devices and hardware from Python code.","skillfed_tags":["linux-hardware","device-management","system-integration"],"use_cases":["Detect and react to USB device hotplug events in a system utility or daemon.","Enumerate all block devices and partitions to build a device list for a storage management tool.","Query device properties and attributes (labels, UUIDs, device types) without shelling out to udevadm.","Monitor hardware changes asynchronously within a Qt or Glib event loop in a desktop application.","Build a hardware inventory tool that reads device capabilities and identifiers from the kernel."],"what_it_does":"pyudev wraps the libudev library to give Python code direct access to Linux device and hardware information. It lets you list all devices on the system, filter by subsystem or properties, read device attributes, and monitor for device changes in real time. The binding is pure Python and supports both CPython 3 and PyPy, making it portable across Python implementations on Linux systems.\n\nTypical use cases include system utilities that need to detect when USB devices are plugged in, applications that enumerate block devices or network interfaces, and tools that monitor hardware state. The library handles both synchronous queries and asynchronous monitoring via threads or event loops (Qt, Glib, wxPython).","worth_installing":"Yes. pyudev is stable (Production/Stable status), actively maintained, has no security vulnerabilities, and solves a real problem for Linux system tools. The LGPL copyleft license is standard for system libraries and poses no barrier to most use. Install it if you need programmatic access to udev from Python on Linux; it is the standard binding for this task."},"id":"pyudev","links":{"html":"https://skillfed.io/packages/pyudev","md":"https://skillfed.io/packages/pyudev.md","pypi":"https://pypi.org/project/pyudev/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-08","license_spdx":null,"license_treatment":"copyleft","name":"pyudev","python_support":"supports_current","summary":"A libudev binding"},"popularity":{"monthly_downloads":1475835,"position":3861,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.24.4"}
