{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"}],"enrichment":{"capability":"Python bindings for libgpiod, the official Linux GPIO character device interface library, enabling control of GPIO lines with support for event polling, multi-value operations, and open-source/open-drain modes.","skillfed_tags":["gpio-control","embedded-systems","linux-hardware"],"use_cases":["Control LEDs, buttons, and sensors on Raspberry Pi or other Linux single-board computers.","Implement GPIO-based hardware monitoring or automation in embedded systems.","Poll GPIO lines for state changes and react to hardware events in real time.","Configure open-drain or open-source GPIO modes for multi-device bus protocols.","Build device drivers or system utilities that interact with GPIO character devices."],"what_it_does":"gpiod is the official Python interface to libgpiod, the modern Linux kernel GPIO character device API. It replaces the deprecated sysfs interface with a more capable, resource-safe approach that guarantees cleanup on device close. The package vendors libgpiod for convenience, so you don't need a matching system library unless you explicitly opt in via LINK_SYSTEM_LIBGPIOD=1.\n\nYou use it to request GPIO lines from character devices like /dev/gpiochip0, configure them as inputs or outputs, read or write values, and poll for events. It supports advanced features like open-source and open-drain modes, bulk value operations, and event monitoring. The bindings are not thread-safe and require external synchronization if shared across threads, though both GIL-enabled and free-threaded CPython are supported.","worth_installing":"Yes, if you need to control GPIO on Linux. It is the official, actively maintained binding to the modern kernel interface, supports current Python versions (3.10\u20133.14), has no known vulnerabilities, and provides binary wheels for common platforms. The copyleft license is standard for GPIO libraries and acceptable in most open-source contexts. Install friction is moderate but manageable with python3-dev."},"id":"gpiod","links":{"html":"https://skillfed.io/packages/gpiod","md":"https://skillfed.io/packages/gpiod.md","pypi":"https://pypi.org/project/gpiod/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-17","license_spdx":"LGPL-2.1-or-later","license_treatment":"copyleft","name":"gpiod","python_support":"supports_current","summary":"Python bindings for libgpiod"},"popularity":{"monthly_downloads":643433,"position":5607,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.5.0"}
