Enterprise-grade integration SDK for Xovis 3D Sensors, Spiders and HUB.
Project description
Xovis SDK
An enterprise-grade integration SDK for Xovis 3D Sensors and the Xovis HUB Cloud infrastructure.
Read the Full Documentation Website →
Compliance Note: This project is an independent, open-source initiative. It is not officially affiliated with, maintained by, or endorsed by Xovis AG.
⚠️ Xovis HUB Cloud Compatibility & Rate Limits
This SDK is architected for enterprise-scale fleet orchestration. Due to the high concurrency of the HubClient and bulk_execute methods, a Xovis HUB Pro subscription is strongly suggested by the development team. Operating the SDK on the free tier may result in aggressive HTTP 429 Rate Limit exhaustion, which will disrupt automated provisioning and telemetry pipelines.
Overview
Integrating native Xovis DataPush protocols and REST APIs into enterprise data pipelines typically requires substantial boilerplate, complex state management, and strict network handling to maintain real-time DataPush ingestion (up to 12.5Hz).
This SDK abstracts the complexities of the Xovis hardware into a unified, modern, and type-safe "Universal Translator" architecture. It completely decouples raw edge telemetry from downstream infrastructure, enabling engineers to focus strictly on spatial analytics, fleet orchestration, and data warehousing.
System Data Flow
graph TB
subgraph "Xovis Hardware Layer"
direction TB
A[Physical Sensors / Spiders]
H[Xovis HUB Cloud]
H -- Secure Proxy Tunnel (M2M) --> A
end
subgraph "Data Plane (High Frequency)"
B[XovisTCPServer / XovisUDPServer / XovisHTTPServer]
S[XovisSink]
end
subgraph "Control & State Plane (SDK Core)"
C[DeviceClient]
F[HubClient]
D[HostStateBucket / ConfigCache]
F -- "connect_device()" --> C
C <--> D
end
subgraph "Agentic & Tooling Layer"
G[XovisAIToolkit]
M[MCP Server / Model Context Protocol]
R[REPLAccessor / CLI]
end
%% Data Connections
A -->|Live-Push up to 12.5Hz| B
B -->|Sliding Buffer Extraction| S
%% Control Connections
A <-->|Local REST API v5| C
H <-->|Hub REST API| F
%% Fleet Integration
D -. "Reflect State" .-> R
F -. "Fleet Sync" .-> D
%% AI Integration
D --- G
F --- G
G --- M
M --- LLM[LLM / Autonomous Agents]
%% Styling
style A fill:#1e293b,stroke:#38bdf8,stroke-width:2px
style H fill:#1e293b,stroke:#38bdf8,stroke-width:2px
style B fill:#0f172a,stroke:#2dd4bf,stroke-width:2px
style C fill:#0f172a,stroke:#2dd4bf,stroke-width:2px
style F fill:#0f172a,stroke:#2dd4bf,stroke-width:2px
style G fill:#1e293b,stroke:#818cf8,stroke-width:2px
style M fill:#1e293b,stroke:#818cf8,stroke-width:2px
Architectural Pillars
The SDK is strictly quadrifurcated into four distinct planes to prevent blocking the asynchronous event loop during high-frequency operations while enabling autonomous systems:
- The Data Plane (Telemetry Ingestion): A zero-copy, lock-free telemetry ingestion engine supporting high-frequency Live-Push (up to 12.5Hz) coordinates and minutely Logic-Push events over TCP, UDP, and HTTP. Read the Data Plane Documentation
- The Control Plane (Configuration): A resilient, asynchronous HTTP engine wrapping the Xovis Edge and HUB APIs with strict Pydantic V2 schema validation and automatic Auth0 token lifecycles. Read the Control Plane Documentation
- The Topology & State Plane (Fleet Orchestration): A memory-efficient graph engine modelling complex multisensor parent/child relations with an offline-first Native State Bucket. Read the State & Topology Documentation
- The Agentic Layer (AI Orchestration): A Universal Tool Adapter and Model Context Protocol (MCP) server that grants autonomous orchestration capabilities to modern AI frameworks and LLMs. Read the Agentic Layer Documentation
Quick Start
Installation
# Install the core SDK with testing and development utilities
pip install "xovis-sdk[test]"
Smart Direct & Tunnel Routing
Interact natively with hardware topologies using the SmartDeviceClient. It automatically performs a fast TCP/HTTP probe of local IP addresses (direct LAN execution) and falls back to a secure connection routed through the Cloud HUB proxy tunnel (HubClient.connect_device) if remote.
from xovis import SmartDeviceClient
async def run():
# Automatically routes to direct LAN or falls back to HUB proxy tunnel
async with SmartDeviceClient(mac_address="00:26:8c:12:34:56", host="10.0.0.50") as device:
if await device.has_analytics:
# Simple, dot-notation collection accessors
zone = device.cache.zones.by_name.Main_Entrance
print(f"Discovered zone ID: {zone.id}")
Explore more examples in the Full Documentation Website.
Model Context Protocol (MCP)
The Xovis SDK includes a first-class MCP server, allowing AI agents (like Claude Desktop and Cursor) to directly orchestrate hardware.
Quick Install with Smithery:
npx -y smithery install xovis-sdk
See the complete MCP Guide and AI Safety & Guardrails for more details.
Developer Experience & CLI
The SDK includes a native CLI tool to extract topology data from an offline sensor cache, generating strict Python Literal types for perfect IDE autocompletion, alongside a complete Mission Control terminal UI.
# Generate static types
xovis-cli generate-types --source ./device_state.json
# Launch Xovis Open SDK Mission Control TUI
xovis-cli ui
Enterprise Testing & Contribution
The xovis-sdk adheres to the absolute highest tier of enterprise SDET standards, utilizing a 4-Tier test matrix with strict idempotency and hard teardown boundaries.
To contribute, please refer to our Engineering Guidelines and ensure all checks pass before submitting a PR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xovis_sdk-1.0.0a24.tar.gz.
File metadata
- Download URL: xovis_sdk-1.0.0a24.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d344c800a47f1698f826e8b003bd04855f2955b404049d2b78c8ff401e1fd80f
|
|
| MD5 |
bc5057ad0d959139493f7665ef9cdf99
|
|
| BLAKE2b-256 |
15adc6e90f4749cc0d91972bd4f94540a3dec2299c41f2e04b386d59977f1e51
|
Provenance
The following attestation bundles were made for xovis_sdk-1.0.0a24.tar.gz:
Publisher:
publish.yml on xovis-open-sdk/xovis-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xovis_sdk-1.0.0a24.tar.gz -
Subject digest:
d344c800a47f1698f826e8b003bd04855f2955b404049d2b78c8ff401e1fd80f - Sigstore transparency entry: 1830439257
- Sigstore integration time:
-
Permalink:
xovis-open-sdk/xovis-sdk@f30a1a2afa664b432ebd9637fb35fd3644581a6a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xovis-open-sdk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f30a1a2afa664b432ebd9637fb35fd3644581a6a -
Trigger Event:
push
-
Statement type:
File details
Details for the file xovis_sdk-1.0.0a24-py3-none-any.whl.
File metadata
- Download URL: xovis_sdk-1.0.0a24-py3-none-any.whl
- Upload date:
- Size: 258.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1143bb4723f8f8c96b7cd88dcfa375771463d2896641827d973ca0c194e1ca37
|
|
| MD5 |
87504e00406955b10aa52338c848189f
|
|
| BLAKE2b-256 |
3c40ceea5285c1c36f19fb1cd6fd49cb7fab9468df3aa3c079044225d5ed8c26
|
Provenance
The following attestation bundles were made for xovis_sdk-1.0.0a24-py3-none-any.whl:
Publisher:
publish.yml on xovis-open-sdk/xovis-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xovis_sdk-1.0.0a24-py3-none-any.whl -
Subject digest:
1143bb4723f8f8c96b7cd88dcfa375771463d2896641827d973ca0c194e1ca37 - Sigstore transparency entry: 1830439484
- Sigstore integration time:
-
Permalink:
xovis-open-sdk/xovis-sdk@f30a1a2afa664b432ebd9637fb35fd3644581a6a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xovis-open-sdk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f30a1a2afa664b432ebd9637fb35fd3644581a6a -
Trigger Event:
push
-
Statement type: