Skip to main content

SulfiLogger sensor

Module for reading data from the SulfiLogger sensor

python requirements

  • Python 3.7 or newer

python code example

Data acquisition from sensor

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

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.

Metadata

Release files for pySulfiLoggerAPI 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pySulfiLoggerAPI 0.0.6
File Size Uploaded
pySulfiLoggerAPI-0.0.6.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pySulfiLoggerAPI 0.0.6
File Interpreter ABI Platform
pySulfiLoggerAPI-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / pySulfiLoggerAPI-0.0.6.tar.gz

Download URL pySulfiLoggerAPI-0.0.6.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e3bab8a1b603da5377fda9160d8b7ada1cdf19d3aeeccc2cddab7109d5fd3ca6
BLAKE2b-256 checksum
How to use checksums
ef9bab9fa63cdfeedebc0f6d747ca4db04fe9dd068c3d77ed069ae1f8c0e240b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / pySulfiLoggerAPI-0.0.6-py3-none-any.whl

Download URL pySulfiLoggerAPI-0.0.6-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7893055be1b064f1c25141c781341a9d2c0dd7aedd0f93733d82f20864616b8
BLAKE2b-256 checksum
How to use checksums
e4130fd50033cb036ce33a675c36fd215e04ac1f6681a0471cdaf1155ad8e90c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page