Python library to support building hardware gadgets with the Raspberry Pi and BeagleBone Black