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.10a4-cp310-abi3-win_amd64.whl (14.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.10a4-cp310-abi3-manylinux_2_28_x86_64.whl (21.3 MB view details)

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

zelos_sdk-0.0.10a4-cp310-abi3-manylinux_2_28_aarch64.whl (20.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

zelos_sdk-0.0.10a4-cp310-abi3-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3b3b1db38265a51a8c20f1b9dfa596d539f62efb830fe26b6989e42153d59da3
MD5 593fdcd3741209a270199b181326e9f5
BLAKE2b-256 d59de66a9be929f104a1ce4a615e7f1e181b318c2fbe72d29f483cc64bc5a149

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a4-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99fd74ee52c67cf41eceb2fd261bfc220e3c4d32d07cd1dae324317913f20306
MD5 8516ba99c9bba9fb5f440cb615632817
BLAKE2b-256 c5574295b6dc1e74f5363d63834b0f3f114861bd2788bf520728a3dd3d133dcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a4-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 72ad8f1ce81e42cde6491d4974c7d9357cdd53fe88aaf693d0fcac33acafb00b
MD5 897bcd8bc910cd0dcbe59d847b12cb66
BLAKE2b-256 d041c9e90d7e9e82671f82da7b7ef8b2debe867ea0228e54674e4d458886a84d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19c7028306966ea02baef90dfc9be40d8662d967267f5d14d9d798c950b2a8e9
MD5 106b3dabc40ab90ea1805244f5698aee
BLAKE2b-256 cf0910da54352da110bfeaa1e45e79f8d4257f6112166f2c67dda16ba48af6ca

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