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)
| File | Size | Uploaded | |
|---|---|---|---|
| moat_lib_gpio-0.9.8.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|