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

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.10a1-cp310-abi3-manylinux_2_28_x86_64.whl (18.5 MB view details)

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

zelos_sdk-0.0.10a1-cp310-abi3-manylinux_2_28_aarch64.whl (17.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

zelos_sdk-0.0.10a1-cp310-abi3-macosx_11_0_arm64.whl (12.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 410cf5a6d06cab07918b63fc5be0f381d36ad9c40302f0e13a9c9468fc2c9a40
MD5 f5424a9bd86eaa0e5f8bf488bc6136be
BLAKE2b-256 8ae42a14cc413e647ce9c8e749152954ba80f2916951e50264082361bb9ab793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 31e59b69c0d204a7fabfcf5bd5b2bcc7d96e35da287bea2d123f15ec84d6b135
MD5 d2b6458a8e6590a1a6b29750bd23fe1f
BLAKE2b-256 09e3627d0d7482844e4f08ca80930799b4fc7f8874a8c08d853c5c4b93524234

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f970170da602e90d604373453c47fa5d64fbd475a675314bfcee8a91b97cb603
MD5 69428038c1ee264ac4eb4b2d500197d4
BLAKE2b-256 74bf397dedf887b1a9cf122e671a754739f3b2b1e8bef5921cba192eb6338036

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccf5199efb0bd2a1748c6b846d7d0338910ffe299cfca93014deeefadfff02b2
MD5 858717d6aee8dd6eb284fe7af035ce8a
BLAKE2b-256 a02583de48ae5af832e5f8f4d1491045bc584b05b5cd6bac4077a686d1a2cb8e

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