apigpio-mpf

asyncio-based python client for pigpiod


Keywords
gpio, pigpio, asyncio, raspberry
License
MIT
Install
pip install apigpio-mpf==0.0.4

Documentation

apigpio

apigpio - an asyncio-based python client for pigpio

Forked from https://github.com/PierreRust/apigpio because it is kind of unmaintained. We added some more feature (I2C) and fixed Python 3.7 support.

pigpio provides a very convenient pigpiod daemon which can be used through a pipe or socket interface to access GPIOs on the Raspberry Pi.

apigpio is a python client library that uses asyncio to access the pigpiod daemon. It's basically a (incomplete) port of the original python client provided with pigpio.

Installation

apigpio is available on Pypi and can be installed with pip:

pip install apigpio-mpf

To install it from sources:

git clone https://github.com/missionpinball/apigpio.git
cd apigpio
python setup.py install

Usage

See the examples in the samples directory.