Metadata-Version: 2.1
Name: pySulfiLoggerAPI
Version: 0.0.6
Summary: Driver module for the SulfiLogger sensor
Home-page: https://sulfilogger.com
Author: Unisense
Author-email: sulfilogger@unisense.com
License: UNKNOWN
Description: # SulfiLogger sensor
        Module for reading data from the SulfiLogger sensor
        
        ## python requirements
        * Python 3.7 or newer
        
        ## python code example
        ### Data acquisition from sensor
        ```python
        from pySulfiLoggerAPI.sensor import Sensor
        
        # locate sensor
        sensor = Sensor()
        comport = sensor.findCom()
        
        if(comport == None):
            print('info','no sensor found.')
        else:
            # data acquisition
            sample = sensor.getData(comport)
            print(['signal', 'unit', 'temperature', 'unit'])
            print(sample)
        ```
        ### Data acquisition from webdata.sulfilogger.com
        ```python
        from pySulfiLoggerAPI.webData import WebData
        
        # login
        webData = WebData(username ="username", password= "password")
        webData.login()
        # get sites
        sites = webData.getAvailableSites()
        print(sites)
        # get data from time interval
        data=webData.getDataFromPeriod(sites[0], '2019-09-25T00:00:00+02:00','2019-10-05T00:00:00+02:00', "mg/L", "1hr")
        print(data)
        ```
        
        ## more examples
        A python script for continuously logging and plotting data from the SulfiLogger sensor via the bokeh module is available upon request.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
