Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.13a2

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

Total release size: 162.8 MB

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

Download URL zelos_sdk-0.0.13a2-cp310-abi3-win_amd64.whl
Size 36.4 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a883e065a623bc67411d4c145e0c540d1a30524e9d5dfc655e37e47806e36801
BLAKE2b-256 checksum
How to use checksums
51c97838222408fa9f30794356ef706b282e0cb0d157da46280bb2773ab9675d
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.13a2-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL zelos_sdk-0.0.13a2-cp310-abi3-manylinux_2_28_x86_64.whl
Size 45.9 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9b9e10013bb6f8be2cc63edaf72c4c4531469604e635aeba740cc37448f38269
BLAKE2b-256 checksum
How to use checksums
66994cfe9ff7cefab2e0648df4909b7fe7550b18cd4b4033270d090e2b5313c7
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.13a2-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL zelos_sdk-0.0.13a2-cp310-abi3-manylinux_2_28_aarch64.whl
Size 46.4 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
608e5e95dda5a88bc41b6f15b6b5f7a460503aca217aa84886a8434dd6c95946
BLAKE2b-256 checksum
How to use checksums
ed28df60d429227e7edbb2cb14ae345fedcbc3dfe599ec312664e31add24f972
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.13a2-cp310-abi3-macosx_11_0_arm64.whl

Download URL zelos_sdk-0.0.13a2-cp310-abi3-macosx_11_0_arm64.whl
Size 34.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a8ef60ab2747253bfbaf98d2a07795b7043f12640b5ee1c2fd164cdd296c340a
BLAKE2b-256 checksum
How to use checksums
b68002d030eb5a7df745dcb16e18008d082f59064886ae279c7aca085359f5db
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.13a2

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