{"library":"gpiod","type":"library","category":null,"description":"gpiod provides official Python bindings for `libgpiod`, a library designed for interacting with the modern Linux GPIO character device interface. This package bundles `libgpiod` for convenience, making it independent of the system's `libgpiod` installation. It replaces the older, obsolete sysfs interface by offering a robust way to control GPIO pins, read input values, set outputs, and monitor events with advanced features like event polling and setting multiple values. The current version is 2.4.2, and it is actively maintained.","language":"python","status":"active","version":"2.4.2","tags":["gpio","linux","hardware","raspberrypi","embedded","bindings"],"last_verified":"Sun May 24","install":[{"cmd":"pip install gpiod","imports":["import gpiod","from gpiod import Chip","from gpiod.line import LineSettings","from gpiod.line import Direction","from gpiod.line import Value"]},{"cmd":"sudo apt install python3-dev\npip install gpiod","imports":[]},{"cmd":"LINK_SYSTEM_LIBGPIOD=1 pip install gpiod","imports":[]}],"homepage":"https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git","github":"https://github.com/brgl/libgpiod","docs":null,"changelog":null,"pypi":"https://pypi.org/project/gpiod/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.05,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/gpiod/compatibility"}}