raspi-gpio RPi.GPIO and spidev wrapper with mocks for developmennt on any platform Installation pip install raspi-gpio Usage Replace import RPi.GPIO as GPIO from spidev import SpiDev with from raspi_gpio import GPIO, SpiDev