Skip to main content

Use the Zelos SDK to push data into the Zelos App, Zelos Agent or directly to Zelos Cloud.

Project description

Zelos SDK

Zelos is the data platform for mission‑critical systems. We help teams observe, control, and test their system on a collaborative platform – from prototype to production.

Use the Zelos SDK to push data into the Zelos App, Zelos Agent or directly to Zelos Cloud.

Example: Logging Random Data

Install uv and save the file below as zelos_random.py and run uv run zelos_random.py to start streaming data live.

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = [ "zelos-sdk" ]
# ///
import random
import time

import zelos_sdk

zelos_sdk.init()

src = zelos_sdk.TraceSource("example_source")
while True:
    src.log("example/message", {"value": random.randint(0, 10)})
    time.sleep(0.01)

Example: Logging Thermal Zones on Linux

Linux supports reading temperature sensors via sysfs. On a linux system, install uv and save the file below as temp_linux.py and run uv run temp_linux.py to start streaming data live.

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = [ "zelos-sdk" ]
# ///
from pathlib import Path
import time

import zelos_sdk

zelos_sdk.init()

# Find all of our thermal zones from sysfs
thermal_zones = list(Path("/sys/class/thermal").glob("thermal_zone*"))

# Once per second, read the zone info and log it
src = zelos_sdk.TraceSource("linux_thermal")
while True:
    for zone_path in thermal_zones:
        # Read the zone info from sysfs
        zone_type = (zone_path / "type").read_text().strip()
        zone_temp_c = int((zone_path / "temp").read_text().strip()) / 1000.0

        # Log to the zelos sdk
        src.log(zone_path.name, {"type": zone_type, "temp_c": zone_temp_c})

    time.sleep(1)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

zelos_sdk-0.0.10a2-cp310-abi3-win_amd64.whl (13.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_x86_64.whl (19.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_aarch64.whl (18.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

zelos_sdk-0.0.10a2-cp310-abi3-macosx_11_0_arm64.whl (13.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file zelos_sdk-0.0.10a2-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ee81aa2974a4e2c6aa3ca970343bb20eead33e493a138e06685f8d0eea664ed6
MD5 4e0f17efabe37dcf532bc70aef1980bb
BLAKE2b-256 f82577abaaf75a87a89017f0aefb3804cd679071a63beff647620197477e7841

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f16962d8627557a880052c49c4d853969f54c8796975b5abec1dfc45fdcbf68
MD5 a205f619230aa36fef45029713f7fc36
BLAKE2b-256 9c1895838eee57d154f645d5f60c0f306e71ebfef424fc967f8f00a6ed4ab5f6

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9a43d52427ab1cd4f7ef5aa36cd1e7c385d906564fe450d8570e18ff1f68e8e1
MD5 dba65b5c2a37bdf02e4b43564106a5df
BLAKE2b-256 27ad1ec482b127154ec82471d8ea0503c0a1c17d8d8e0f67a1a3a1205134aae3

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.10a2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6999bdde13eebaff10389e0ffe6d6a480e3163adc9a96d7ed8668cf525749ff6
MD5 d21fc65eb6c667d72d237baad5d1dcf8
BLAKE2b-256 f0d59c82931bfbb5dcbcf6b9c7baa0cc77994ac5767a45fc068d98301d4ddcce

See more details on using hashes here.

Supported by

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