This is no rocket science!
I had an ADXL345 working with my OrangePi Zero. The only problem was getting Numpy installed. Therefor the RAM of the OPi was too small and had to be outsourced to the SD card into a temporary RAM file. This worked though it took ages…