Skip to main content

etaoi-schema (Python)

Shared wire schema for VIZ — the Pydantic v2 source of truth for every type that crosses the SDK / server / UI boundary.

This package is consumed by:

  • etaoi — Python SDK that streams telemetry over WebSocket
  • etaoi-server — FastAPI backend that persists events to ClickHouse and fans them out over SSE
  • etaoi-ui — Next.js UI (via the TypeScript mirror in ../typescript/)

The TypeScript mirror in ../typescript/ is hand-maintained from this source. A CI msgpack-roundtrip parity test (Phase 1 Plan 07) prevents drift.

Public surface

from etaoi_schema import (
    # Core domain
    Session, Trace, Span,
    # Events (discriminated union on `kind`)
    SpanStartEvent, SpanDeltaEvent, SpanEndEvent, Event,
    # Envelope (D-04)
    Envelope,
    # Handshake (D-06)
    Hello, Welcome, MismatchError,
    # Versioning policy (D-05)
    is_major_compatible,
    # Constants
    SCHEMA_VERSION,
    WS_CLOSE_SCHEMA_MISMATCH,    # 4400
    SSE_MISMATCH_HTTP_STATUS,    # 426
)

See CONTRIBUTING.md for the additive-only-within-major versioning policy.

Metadata

Release files for etaoi-schema 0.5.1

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

Source distribution (sdist)

Source distribution for etaoi-schema 0.5.1
File Size Uploaded Provenance Actions
etaoi_schema-0.5.1.tar.gz 12.0 kB With provenance Details for etaoi_schema-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for etaoi-schema 0.5.1
File Interpreter ABI Platform Actions
etaoi_schema-0.5.1-py3-none-any.whl Python 3 none any Details for etaoi_schema-0.5.1-py3-none-any.whl

Total release size: 29.3 kB

Release files / etaoi_schema-0.5.1.tar.gz

Download URL etaoi_schema-0.5.1.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
276defe148a0353f0765ca895a48d71bea72e1b903614d888b0a5597909b8a2a
BLAKE2b-256 checksum
How to use checksums
97a61149dd88324a82a9f255095df5d62b3af4246fdba7d5ad591d79f9f6cca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / etaoi_schema-0.5.1-py3-none-any.whl

Download URL etaoi_schema-0.5.1-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86fde1768333a1729c403a5e2802a8bea4c43b54e16d25d07f0ee37ce2182c22
BLAKE2b-256 checksum
How to use checksums
f4822bfec579c9f0d7bd2c09e04f5c005dca462d03172f3f60c79a77efcf9dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Security for etaoi-schema 0.5.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for etaoi_schema-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

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.

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