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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a2170cb7fcae2774b19ffc4367839d04438652dc87d5358c17bc349b4e9bb702
MD5 13d955b8a9efbf11aa55e0443cf708d0
BLAKE2b-256 642ebb064fbc0b572a83fdfd22c7c11e7e1f5e7a99c1ff00e82e3f6d37eaa517

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15ae0357b06adb234d895c416a64d6ee11e1f4ed51beffc16e7135e15a6e9c10
MD5 2a9be491acd7ea6d35acfabd009c86a4
BLAKE2b-256 9adea8ee52ed450ad6318fe3a92af7a531688e8d754d5c8f016ff87f67273b57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2bc54535664c05e377f8b76960932bd0aa817090a95728040bd1573283b223b7
MD5 1a1dc75b97ce9a7de6c9a60f79d75de1
BLAKE2b-256 b1b94283be201f8f5ae7b282c6f12a0d9aa4819c0ce34e95fb146adbe34d554d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e65625885150b7561fb59e83924636389ca675c62013e70df73710ba37f4035
MD5 b4d1c550570cc97d6e518242ccee07e6
BLAKE2b-256 ed07465a0c57a47ce5ae0cc72b8f0bd97526a02ac4e1b2e7cecee4011760c736

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