Skip to main content

Zelos SDK

Zelos is the data platform for hardware systems. One platform to observe, control, test, and analyze your system in real time, from prototype to production.

Use the Zelos SDK to push data into the Zelos App, Zelos Agent or directly to Zelos Cloud.

Read data

connect() is the one import you need; zelos_sdk.agent re-exports the same names.

from zelos_sdk import connect

agent = connect("http://localhost:2300")
frame = agent.query("bus0/BMS_message/cells.*", start="-5m").short_names()

spread = frame["cell_0"] - frame["cell_1"]   # a series in V, on the frame's time axis
spread.abs().max()                           # prints its unit and what it measured
df = frame.ffill().to_pandas()               # a pandas DataFrame, when you want one

agent.check.that("bus0/BMS_message/status.pack_current", "<", 100)

A frame and a series answer to pandas' names, and carry units through arithmetic (power.to("kW"), energy.to("Wh")). Install zelos-sdk[notebook] for the pandas conversions.

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)

Metadata

Release files for zelos-sdk 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for zelos-sdk 0.0.13
File Actions
zelos_sdk-0.0.13-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for zelos_sdk-0.0.13-cp310-abi3-win_amd64.whl
zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_x86_64.whl
zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_aarch64.whl
zelos_sdk-0.0.13-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for zelos_sdk-0.0.13-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 162.1 MB

Release files / zelos_sdk-0.0.13-cp310-abi3-win_amd64.whl

Download URL zelos_sdk-0.0.13-cp310-abi3-win_amd64.whl
Size 36.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6dc60cbedff0f954461434b3d6047f8ea0cad8f19ddb7eeae20713cf95cda269
BLAKE2b-256 checksum
How to use checksums
5f629e26f5787821f9af20c43630df6c8fe7df648f3b77d07d84d42fa9af4b27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.15

Release files / zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_x86_64.whl
Size 45.7 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
b545bfbd0f8d3a2d3a16609fef142bae6521be74e06218e4ac064ab387cd0270
BLAKE2b-256 checksum
How to use checksums
2cd044e4dae748c5f4e795d818a08178bd01dd76ffdd0d1f5d024aa86d161d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.15

Release files / zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL zelos_sdk-0.0.13-cp310-abi3-manylinux_2_28_aarch64.whl
Size 46.2 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
fac159360378f9a115cb05ccd9c0cf0f1b3228248aa5b2c102e086970272f2d5
BLAKE2b-256 checksum
How to use checksums
85066d0749f5ac07a3ecb6a3d9f2aae0e121c423efae2c259acb34b650e46616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.15

Release files / zelos_sdk-0.0.13-cp310-abi3-macosx_11_0_arm64.whl

Download URL zelos_sdk-0.0.13-cp310-abi3-macosx_11_0_arm64.whl
Size 33.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
611c9a1a9f4c14f7045fd9ff864b16e73646ad2b4438668436354c7a7aa77a3d
BLAKE2b-256 checksum
How to use checksums
fabaa617a2db49cbd96786d24ac8103b532eea3b93f00022b52eea159bce8844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.15

Security for zelos-sdk 0.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.13 This release

4 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page