Modified version of pySUNXI library to operate with GPIO and SPI on Cubietruck