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

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_x86_64.whl (17.0 MB view details)

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

zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_aarch64.whl (16.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

zelos_sdk-0.0.9-cp310-abi3-macosx_11_0_arm64.whl (11.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: zelos_sdk-0.0.9-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 11.1 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.9-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6365a0cd7aeda2200f39013e0f99d1b46e9c688365e0ba31c62cb23f54f92918
MD5 9c9db1fede665745eafbab50998fa234
BLAKE2b-256 374341003e14ec706d2240b31041c73f28d8df4859cccf84f38c13341aa699bb

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1dedcd2d93ff8b694785cee9f2b0d24dce8a820530c1f625c0f6ed0edbc0ecd4
MD5 4dc9695d7b61a82a627ba8a38fe5770f
BLAKE2b-256 116961525daba762a874f8d82a0aff61214be8359c94c7699994e1ca5f354663

See more details on using hashes here.

File details

Details for the file zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zelos_sdk-0.0.9-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9547cba79a2bf585eaed2782a251ada53f8c2b2ff878ee5b9723a0bf41d74490
MD5 0e9d9120a5798277d9f617c61688be2c
BLAKE2b-256 5eaa0de4656357ebe0625295e52fb1b5a961d2f9841477d11b29a5deb5aca248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.9-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 16812886e8c95970c2f60edd8a33246f0ffb0768b8b67d6d5242718a64e753be
MD5 a429a958460ff5cd87aff1edd07e3e3d
BLAKE2b-256 be455707a3925c01318e03d78b0b8accabc5d6c38f5aa5a08ec617b99cba03a2

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