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.14

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.14
File Actions
zelos_sdk-0.0.14-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for zelos_sdk-0.0.14-cp310-abi3-win_amd64.whl
zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_x86_64.whl
zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_aarch64.whl
zelos_sdk-0.0.14-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for zelos_sdk-0.0.14-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 156.5 MB

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

Download URL zelos_sdk-0.0.14-cp310-abi3-win_amd64.whl
Size 38.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b30943dc38a638988f2408d46eab6a34d25ae97bc2b7b51fb77c4c25cc2861b2
BLAKE2b-256 checksum
How to use checksums
1fcbd5a39c2d3b9d884d6e572f01f00dd7d143ccb778da2ab2b0762fa695ebcf
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.14-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_x86_64.whl
Size 42.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
586a709e68a1433c07f62ddc777c9fbc5fa99c886b613c1b010ce07058c2993c
BLAKE2b-256 checksum
How to use checksums
20de2e785e9563d1da83c359436b585336d9941fb5924d8b6ac3664d53626b8d
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.14-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL zelos_sdk-0.0.14-cp310-abi3-manylinux_2_28_aarch64.whl
Size 39.4 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4b8cd701dcc45e4c1fed601fbc87733d67d2228de188b355cf2dab8266ff5e05
BLAKE2b-256 checksum
How to use checksums
d390e8129e02a783383d8a3fa6514ffe21b77926544d2930e7a9ee0ffd972f17
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.14-cp310-abi3-macosx_11_0_arm64.whl

Download URL zelos_sdk-0.0.14-cp310-abi3-macosx_11_0_arm64.whl
Size 35.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
38e078ab0023274bc6b3ec35ab1e6bf7ccb12ec19a2ebd84a11e23a65359d17e
BLAKE2b-256 checksum
How to use checksums
a100aff3c2afdb6f6ee5798574bc34bebc142eb71b5368bb68b33a14a012e9ab
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.14

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.14 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