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

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.10a3-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.10a3-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.10a3-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.10a3-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2ebac05de92342ac30189a0d68bdd8a96063163fa66b7b4ab7aa769cfa4d50fd
MD5 96443ffb201903b8c856e44622a1cfa9
BLAKE2b-256 2db0dac7b51f4cac3144b993948330f509dd4272bdba32ced2323a6f5fc932d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a3-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec426ac2dc659689a18727c06e2579e3c1a8687c94be6b5efd647f82f766ef35
MD5 0d4559da247b25bab8a4f55ad6a93de6
BLAKE2b-256 5d1af24bf32e64652bc67960a106d78bb1308b339a4eaa3595861f02e984fbfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a3-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5155258504e9cf30c97f09f8e9b2e15c7098d4cfe308592530f100a862f3f589
MD5 91a8c6c2149a14cd03623af9fc4c4fa7
BLAKE2b-256 ebeeed7e30964e75474e01edb5ceb6ea9b73f4fed926633d38a9e9fd60e1f658

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7ef18e0a1f987e4459a2ef07a45af24a9f0d9f5f97026d525ab230628b89a1e
MD5 bed759b1ec8bb1a53b617d1a4286265b
BLAKE2b-256 9392174b6b8a4417a95029a8834d34d596c7b56bf0b954cce3e8efde9ef4d627

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