nqminds / nqm-iot-database-py

nqm-iot-database-py
https://nqminds.github.io/nqm-iot-database-py/
0 stars 0 forks source link

Add Initial Implementation of Open/CreateDataset/AddData #1

Closed aloisklink closed 5 years ago

aloisklink commented 5 years ago

Adds the ability to open a dataset, create a dataset (including existing ones), and add data to it.

Documentation/unittests can be found in the README

aloisklink commented 5 years ago

I'm going to accept this, since it is basically a subset as nqminds/nqm-iot-database-utils except in Python.

Also, the main API is using an OOP approach, so instead of doing manager.addData(db, data), you do db.addData(data).

It will be very easy to make a functional approach, like above, ie:

def magick_function(db, *args, **kwargs):
    return db.magick_function(*args, **kwargs)