MoaT-GPIO allows easy access to the GPIO pins on your Raspberry Pi or similar embedded computer.
It is based on libgpiod and its CFFI adapter by Steven P. Goldsmith <sgjava@gmail.com>, as downloaded from github.
To run examples, make sure to install trio first.
Testing MoaT-GPIO requires a Linux distribution that enables the mock-GPIO module. As of mid-2020, Debian’s kernel does not include this module, but Raspbian’s does.
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.
Writing an actual test suite is TODO. There is a more elaborate test script in DistKV-GPIO.
Release files for moat-gpio 0.6.7
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_gpio-0.6.7.tar.gz | 24.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_gpio-0.6.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.2 kB
Release files / moat_gpio-0.6.7.tar.gz
| Download URL | moat_gpio-0.6.7.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
551e8cdf2c513d61fe3aac4ce524549e73e3012c3a3e057ec11f1618cda677d0
|
|
BLAKE2b-256 checksum How to use checksums |
a08ed233868182ad72cf60f9ccc72b7c2f29debd85a77235dc31483a97edd463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / moat_gpio-0.6.7-py3-none-any.whl
| Download URL | moat_gpio-0.6.7-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d34e9ff426330111fb407e3e4e9d6e813cd09c74b7299eb4075f21b60a1ca21a
|
|
BLAKE2b-256 checksum How to use checksums |
c00bd82a09b51984f2c144bc5142eea20443eea3d0265a599d292d5a02de8497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|