I have published a python module to support my Bourns ACE-128 modules on the Raspberry Pi. The functionality of the Arduino library has been mapped into python. EEPROM state retention uses files, and the encoder map is generated on the fly. Support for the MCP23008 chip is not included.