Unofficial library to handle data from a Technische Alternative D-LOGG device.
pip install dlogg-db
from dlogg_driver import DLoggDevice from dlogg_db import DLoggDbUpload with DLoggDevice("/dev/ttyUSB0") as device: with DLoggDbUpload('db-host', 3306, 'db-name', 'db-user', 'db-pw') as upload: upload.update_tables_format() upload.insert_current_data(device.get_current_data())
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.