mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-30 04:37:49 +03:00
Integrate python docs with sphinx using autodoc and the import mock feature which allows us to avoid having to build the C extension. Reviewed-by: Vincent Fazio <vfazio@xes-inc.com> Link: https://lore.kernel.org/r/20250211-improve-docs-v4-13-dc56702c2ca8@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
34 lines
909 B
ReStructuredText
34 lines
909 B
ReStructuredText
..
|
|
SPDX-License-Identifier: CC-BY-SA-4.0
|
|
SPDX-FileCopyrightText: 2024-2025 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
|
|
|
|
..
|
|
This file is part of libgpiod.
|
|
|
|
libgpiod python bindings documentation
|
|
|
|
libgpiod Python bindings API
|
|
============================
|
|
|
|
The **libgpiod Python bindings** provide an interface to control and interact
|
|
with GPIO (General-Purpose Input/Output) lines on Linux systems using the
|
|
libgpiod library. The Python bindings allow developers to manage GPIO pins
|
|
easily through Python scripts, enabling tasks such as reading input values,
|
|
setting outputs, monitoring events, and configuring more fine-grained pin
|
|
options.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Contents
|
|
|
|
python_chip
|
|
python_chip_info
|
|
python_exceptions
|
|
python_line
|
|
python_line_info
|
|
python_info_event
|
|
python_edge_event
|
|
python_line_settings
|
|
python_line_request
|
|
python_misc
|