Skip to main content

TUM ESM Signal

Replaces the shareable-timeseries-visualization repository.

Installation:

poetry add tum-esm-signal
# or
pip install tum-esm-signal

Usage:

from tum_esm_signal import TUM_ESM_SignalClient

signal_client = TUM_ESM_SignalClient(
    cms_identity=cms_identity, cms_password=cms_password,
    collection_name="test", table_name="test",
    sensor_id="test",
)

data_column_co2 = signal_client.connect_column(
    column_name="co2", unit="ppm",
    minimum=350, maximum=4000, decimal_places=0,
)
data_column_ch4 = signal_client.connect_column(
    column_name="ch4", unit="ppm",
    minimum=1.6, maximum=3.0, decimal_places=2,
    description="Methane",
)

while True:
    print("Sending datapoints")
    data_column_co2.add_datapoint(random.randint(350, 4000))
    data_column_ch4.add_datapoint(random.random() * 1.4 + 1.6)
    time.sleep(2)

Download files

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

Source Distribution

tum_esm_signal-0.3.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tum_esm_signal-0.3.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file tum_esm_signal-0.3.0.tar.gz.

File metadata

  • Download URL: tum_esm_signal-0.3.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for tum_esm_signal-0.3.0.tar.gz
Algorithm Hash digest
SHA256 49e83374e1ea4b577903f0845969b894845aca16a5e03952d7f9bbd64c53bc03
MD5 ef1eaff60c4b20de662dc303fef3bb4d
BLAKE2b-256 7bcec00415faf499b3d2da5ac1ed526ee82b632b055f915df9ccf27f02ecd884

See more details on using hashes here.

File details

Details for the file tum_esm_signal-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: tum_esm_signal-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for tum_esm_signal-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fad4fd3cd09b482979e320e36ac5022888b1a8f390a75e0d105040b98fb3497e
MD5 764fbd4d459a7311c4c9d76a4794ff87
BLAKE2b-256 fae161e211929a0cc106b9cb22febbedd31480c1def7acd1770cd523be379cdb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page