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.
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.
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.
Authentication
Supports API keys, service accounts, and enterprise SSO. Credentials are automatically rotated and encrypted at rest.
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.
| Method | Endpoint | Description | Async |
|---|---|---|---|
| GET | /v3/divisions/{id}/status |
Retrieve real-time operational status | aio |
| POST | /v3/orchestrate |
Trigger cross-division workflows | d>aio |
| 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.
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