Skip to main content

moat-lib-gpio

% start synopsis % start main

MoaT-lib-GPIO allows easy access to the GPIO pins on your Raspberry Pi or similar embedded computer.

% end synopsis

Testing MoaT-lib-GPIO requires a Linux distribution that enables the mock-lib-GPIO module. As of mid-2020, Debian's kernel does not include this module, but Raspbian's does.

% end main

If you can compile your own kernel: the option is named CONFIG_GPIO_MOCKUP, in Device Drivers / GPIO support / Memory mapped GPIO drivers / GPIO Testing Driver.

This code is based on libgpiod and its CFFI adapter by Steven P. Goldsmith <mailto:sgjava@gmail.com>, as downloaded from github.

To run examples, make sure to install trio first.

Writing an actual test suite is TODO. There is a more elaborate test script in MoaT-KV-GPIO.

Metadata

Release files for moat-lib-gpio 0.9.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-lib-gpio 0.9.9
File Size Uploaded
moat_lib_gpio-0.9.9.tar.gz 17.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moat-lib-gpio 0.9.9
File Interpreter ABI Platform
moat_lib_gpio-0.9.9-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / moat_lib_gpio-0.9.9.tar.gz

Download URL moat_lib_gpio-0.9.9.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5a43840ff96e48750ba2a95fc20b94893adc5c593ffcb7e0325cb0047318ff58
BLAKE2b-256 checksum
How to use checksums
90948ea23a2dbc2eca07c652f9eb0b61d24db6e4fe0106115f3dd00853803181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / moat_lib_gpio-0.9.9-py3-none-any.whl

Download URL moat_lib_gpio-0.9.9-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88214ed772e5d2ef80fb134de23ece2f36531ec4907097280a4a7e6ca5f1328d
BLAKE2b-256 checksum
How to use checksums
2f541b0bcee3cd6b88a87629f65830840a201a9949792d9d712aa2b1fe621cd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.9.9 This release

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page