Skip to main content

Unofficial library to handle data from a Technische Alternative D-LOGG device.

Project description

Unofficial python package to read data from a Technische Alternative D-LOGG device (using dlogg-driver) and upload it to a database.

Installation

pip install dlogg-db

Usage

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dlogg-db, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size dlogg_db-0.2.0-py2-none-any.whl (6.1 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size dlogg-db-0.2.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page