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

Uploaded CPython 3.10+Windows x86-64

zelos_sdk-0.0.10a5-cp310-abi3-manylinux_2_28_x86_64.whl (21.3 MB view details)

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

zelos_sdk-0.0.10a5-cp310-abi3-manylinux_2_28_aarch64.whl (20.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

zelos_sdk-0.0.10a5-cp310-abi3-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2237153d07586aecdc0305ff327f3597e892a5050da3a8b0f786c1363eb40597
MD5 b3b6c3c7d09bd7335a51007f38d88bc7
BLAKE2b-256 90a047d2357cf3fe05031f76e812790f3efae157b09ef7db9d1c7b689379a59e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a5-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a304e7a7cf48748d2eafe682072035fa249342b4bae3dc76d7079118778bc7a
MD5 1eeead76c40a644348882f7c47ba212d
BLAKE2b-256 2f67ec8df82f7674ef6ecb6af63711f4a9c408d6f6562ae7d4633ee583c322f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a5-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf0057d88d941483f0e9ad880438628e935967b12aaf073944581d792508a93b
MD5 473b886b7d9379f46c0eca3d73f38e8e
BLAKE2b-256 c6a89d8763b174b9b3b91f706d92945c4a02945ffbe5ecd0e062ecd615c53a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zelos_sdk-0.0.10a5-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78fedcfc9b7e1d58f4d4c83a8c545b3cda19535493f0d0687b019295d2d7c36d
MD5 a36eea00e1693d1bd7de98a253d45ef8
BLAKE2b-256 c4173ad625a03635581f9989539af1c2ea947ba16c62054d18c0c97642f0ec22

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