Stable Release

Aevum Zenth Python SDK

The official, production-ready Python library for interacting with the Aevum Zenth enterprise ecosystem. Access 400+ division endpoints, real-time data streams, and cross-platform orchestration with type-safe, async-first design.

Installation

Install the SDK via pip. Compatible with Python 3.8+ and all major Unix/Windows environments.

bash
pip install aevum-zenth-sdk
# For async & advanced analytics modules:
pip install aevum-zenth-sdk[async,analytics]

Quick Start

Initialize the client, authenticate, and make your first cross-division API call in under 10 lines.

python
from aevum_zenth import Client, Division

# Initialize with environment variables or direct keys
client = Client(api_key="az_live_sk_...")

# Query Energy Division for real-time grid metrics
response = client.divisions[Division.ENERGY].metrics.get(
    region="EMEA",
    timeframe="1h",
    aggregation="avg"
)
print(response.data["load_factor"])  # 0.8742

Core Modules

The SDK is modular by design. Import only what your integration requires.

aevum_zenth.core
Base client, config, rate limiting, and retry logic
🔗
aevum_zenth.sync
Real-time WebSocket & gRPC stream handlers
📊
aevum_zenth.analytics
Pandas/Polars integration & data modeling
🔒
aevum_zenth.auth
OAuth2, JWT rotation, and RBAC scoping

Authentication

Supports API keys, service accounts, and enterprise SSO. Credentials are automatically rotated and encrypted at rest.

python
from aevum_zenth.auth import ServiceAccountAuth

auth = ServiceAccountAuth(
    project_id="proj_88x2z",
    scope=["energy:read", "finance:write", "aerospace:telemetry"]
)
client = Client(auth=auth)

API Reference

Key client methods for cross-division orchestration.

d>
Method Endpoint Description Async
GET /v3/divisions/{id}/status Retrieve real-time operational status aio
POST /v3/orchestrate Trigger cross-division workflowsaio
GET /v3/stream/telemetry Open WebSocket data pipeline aio

Async Support

Every blocking method has an async equivalent. Built on asyncio with backpressure handling for high-throughput data ingestion.

python
import asyncio
from aevum_zenth import AsyncClient

async def process_streams():
    client = await AsyncClient.create("az_live_sk_...")
    async with client.stream("energy.grid") as stream:
        async for event in stream:
            if event.is_anomaly():
                await client.operations.alert("HIGH_LOAD_DETECTED")

asyncio.run(process_streams())

Need enterprise support or custom SDK extensions? Contact Developer Relations

}