GitHub repository: tekktrik/Adafruit_CircuitPython_BusDevice
Description: Two helper classes that handle transaction related state for I2C and SPI including locks.