Unfortunately, the Python 3 version on Raspbian/Stretch is stuck at Python 3.5.3,
which means we can't take advantage of the recent changes
of the awesome asyncio api.
However, we can build and install the latest version from source on the Raspberry Pi as shown below:
A couple of months ago I started to write a small and straightforward sensor
library for the I2C sensors that I already bought and used in my sensor-based
projects at home.
The library ships two CLI scripts for retrieving and exposing sensor data.
The first one allows one to retrieve …