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