Skip to main content

Easy async access to GPIO pins

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moat-gpio-0.6.5.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

moat_gpio-0.6.5-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file moat-gpio-0.6.5.tar.gz.

File metadata

  • Download URL: moat-gpio-0.6.5.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.8.2 requests/2.25.1 setuptools/66.1.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.11.2

File hashes

Hashes for moat-gpio-0.6.5.tar.gz
Algorithm Hash digest
SHA256 42876e0590f903582f4c8778dc110cd8891b776f91d8f2eec34e996941fbfc32
MD5 696911adf8f6f3df02332f57472d7260
BLAKE2b-256 aec5513cde5356515573fad54f8b683b37d409504ded42e08128a82850e319cc

See more details on using hashes here.

File details

Details for the file moat_gpio-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: moat_gpio-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.8.2 requests/2.25.1 setuptools/66.1.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.11.2

File hashes

Hashes for moat_gpio-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7c28c90088f8f71d5d2d8f90cc8c46ba030349ac57841eeef62d68785d86b3e6
MD5 af19c05ea5f4d479a3d8257920c88825
BLAKE2b-256 dfc0f6380d218a8bb1e5583cd329423275d89216235c8599b3aa989db088eca2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page