import { CodeBlock } from '@/components/ui/CodeBlock'; import { SectionHeading } from '@/components/ui/SectionHeading'; import React from 'react'; export const SdkSection: React.FC = () => (
# Install the official Python SDK{'\n'} pip install ./sdk/python/datastack{'\n\n'} # Auto-loads config.datastack.py from project root{'\n'} from datastack import DataStack{'\n\n'} client = DataStack(){'\n'} client.send({'{'}"event_type": "sensor_telemetry", "temperature": 24.8, "status": "NOMINAL"{'}'}){'\n'} client.send_file("telemetry_batch.csv"){'\n'} client.disconnect()

How it works

Zero-boilerplate config. Auto-recovery built in.

Drop config.datastack.py into your Python project to stream single events, batches, or .csv / .json files directly—with automatic HTTP fallback, offline disk spooling, and Heartbeat IDLE recovery.

); export default SdkSection;