This is Python script that listens to the CAN-Bus and writes the data into SQLite database located in memory (virtual disk). All other software components running on the same host (Raspberry Pi) will be reading data from this SQLite database when required.
For details visit http://experimentalavionics.com/can-bus-data-logger/