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.8

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.8
File Size Uploaded
moat_lib_gpio-0.9.8.tar.gz 17.1 kB Details

Built distribution (wheel)

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

Total release size: 30.4 kB

Release files / moat_lib_gpio-0.9.8.tar.gz

Download URL moat_lib_gpio-0.9.8.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0272232f97323c175665cb7babda5370f5d1b579e3c77c015365dc51549c33be
BLAKE2b-256 checksum
How to use checksums
5bacfe5f9a78a47f2d046e61da74f1168b7c80feae670b78ef3e3f896fd86eee
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.8-py3-none-any.whl

Download URL moat_lib_gpio-0.9.8-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fad884921dde5d17315a964f3b70d4bb0dc362bc35629d619faf8f89eeea32e
BLAKE2b-256 checksum
How to use checksums
22121934f92f641357a35dd3019544a912cc8583386c2b8e16a35961c03292fd
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

0.9.9

2 release files

This release

0.9.8 This release

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