Skip to main content

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

Download files

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

Source Distribution

asyncgpio-0.5.1.tar.gz (27.4 kB view details)

Uploaded Source

File details

Details for the file asyncgpio-0.5.1.tar.gz.

File metadata

  • Download URL: asyncgpio-0.5.1.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.8.2 requests/2.25.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.10.5

File hashes

Hashes for asyncgpio-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2ba03bad29f140b5bd117df3863850865b9959db4d17eb6ed710f2237c626965
MD5 0abff46f146cb4d01478324a19756ede
BLAKE2b-256 b6a6e39148838663f6de3905f46c87c4b55e1638956d0b1cde9aa1ce66be2721

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.1 This release

1 file

0.5.0

1 file

0.4.4

1 file

0.4.1

1 file

0.4.0

1 file

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