High-Velocity Telemetry Ingress & Normalization Engine Client SDK
Project description
Linac SDK (High-Velocity Ingress Engine)
A high-performance, zero-dependency Python client and asynchronous proxy gateway designed to ingest, normalize, and stream telemetry payloads to serverless edge ledgers with sub-microsecond overhead.
Core Features
- Zero-Dependency Execution: Developed strictly using the Python standard library to ensure absolute stability and lightweight execution without third-party packaging conflicts.
- Microsecond Stack-Based Ingestion & Flattening: Utilizes a non-recursive, stack-based flattener to securely normalize multi-format telematics logs (JSON, nested dictionaries, CSV, Key-Value) with sub-15 microsecond parsing guarantees.
- Asynchronous Local Proxy Gateway: Built-in
native asyncioTCP server that accepts local telemetry events concurrently, returning immediate acknowledgments while managing backstage network sync. - Resilient Zero-Loss Spooler: Safely stores queued events in an append-only binary spool cache file during network blackouts, automatically draining and purging the spool when connectivity returns.
Installation Guide
Install the Linac SDK via pip:
pip install linacdata
Basic Command Usage
-
Configure Developer API Credentials: Register your developer license token locally. The CLI validates lengths, printability, and format:
linac auth set-key sb_live_your_api_key_token
-
Initialize Local Configuration: Generates a default sandboxed configuration file (
.linacjson) in your project folder:linac init -
Check Licensing Usage Status: Displays current monthly consumption metrics masked safely for raw Windows shells:
linac status -
Launch Local Proxy Listener: Spins up the high-speed local proxy gateway in an asynchronous event loop, listening for telemetry hits and forwarding them to the serverless edge ledger:
linac listen --port 3000 --forward http://127.0.0.1:8787/v1/pulse
-
Validate Datasets Offline: Executes local diagnostic parse runs to identify schema warnings and syntax anomalies before streaming data to the edge:
linac validate --file dataset.txt
Performance Benchmarks
The ingestion engine and asynchronous gateway have been rigorously profiled under extreme diagnostic stress tests to verify production resilience:
- Ingestion Flattener Latency: Processes pre-parsed and serialized telemetry records under standard CPU conditions with an average core flattener speed of 7.3 to 12.5 microseconds per packet (exceeding sub-15us performance targets).
- Concurrency Load Testing: Successfully ingested 10,000 requests sequentially to the
linac listenasynchronous gateway at an effective processed rate of 476 req/sec under dense concurrency bursts:- Success Rate (200 OK): 100.0%
- Connection Drop / Ephemeral Port Timeout: 0.0%
- Malformed Parser Resilience: Successfully handled 10,000 deeply corrupted packets (including infinite unclosed brackets, array misalignment, hex gibberish, and 250-level nested recursive attack payloads) with zero thread crashes or memory leaks.
- Spooler Integrity: Validated 100% zero-loss length-prefixed disk spooling of 5,000 concurrent payloads during a total simulated edge network blackout, with automatic backstage drain and cache-file purging within 3 seconds of recovery.
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 linacdata-1.0.0.tar.gz.
File metadata
- Download URL: linacdata-1.0.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2f083824846e9f066941055cb1a41d6a12b5c75f9411c8fbf7db88977cc6b29
|
|
| MD5 |
d96ec878d509510b00313779482dcb05
|
|
| BLAKE2b-256 |
d22ebc5480411fbe68571f2009172e971cff0ec50707f9f55133bab600c8e70f
|
File details
Details for the file linacdata-1.0.0-py3-none-any.whl.
File metadata
- Download URL: linacdata-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28257b6ae658a860ce98d18c39d8dd11451434bf29246dee7266789585514af6
|
|
| MD5 |
5ad859b6f29b47ce17c6c8c8fd45dd41
|
|
| BLAKE2b-256 |
04d3fd2b0936e17cb2f05fbd11b47a825c044921957635b1c337ce00355ae144
|