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.8-cp310-abi3-win_amd64.whl (10.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.2 MB view details)

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

zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

zelos_sdk-0.0.8-cp310-abi3-macosx_11_0_arm64.whl (11.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file zelos_sdk-0.0.8-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: zelos_sdk-0.0.8-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for zelos_sdk-0.0.8-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 95993a9d1bceec17f3e920dbb59a6c7654b40bc6b4452fb3b09f7f3ef466d868
MD5 c115cacafa960a379d10a04dc04610cf
BLAKE2b-256 20c9982108fd13af52a24fb04234c4b2ca9ae7c1a3e2efaf36dab2443c24f44a

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1eef8f275ac166940318d7c808e277023a728bd4c3888c99a37cd39d2f3b555
MD5 36cf62ba6b37e48d886d96d26f7cb3ae
BLAKE2b-256 3f71c2533c3050c0ee68f576bc7b18521b8773edba8ba50785efd66b7a4948b3

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4a41876cae078401ee61194968bb420cfc002cc4d96546ec05997815ef6860dc
MD5 85139872d427b1930805e4e90d54e980
BLAKE2b-256 b777c4620b4ebed494acf6ed034d6eccb943f5d483bfb49cd3b70815c5a77ab6

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.8-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.8-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 808d5a9fc1dcfa256d2d9de0f8a40e6ed9a5e106250493226487d14cbd0d49e2
MD5 e9cea49f28bb4b78b832b068a3a9b50b
BLAKE2b-256 9d2b4c292bea5f3933913f058dcccc9a06448a3c337b9345bdbee521f916f022

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