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 linac
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.
Metadata
Release files for linac-sdk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| linac_sdk-1.0.0.tar.gz | 17.0 kB | Without provenance | Details for linac_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linac_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for linac_sdk-1.0.0-py3-none-any.whl |
Total release size: 33.8 kB
Release files / linac_sdk-1.0.0.tar.gz
| Download URL | linac_sdk-1.0.0.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9fb193e92c70c02871dbf3fc2d5edb8b4ee929420a7f08a29228bd736feeb41
|
|
BLAKE2b-256 checksum How to use checksums |
8e8825b47cd59d2d7b7e851cce92492cd161f3c9c659789c3d40830c8c72b941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / linac_sdk-1.0.0-py3-none-any.whl
| Download URL | linac_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a14f60bd77ccc419ee3105ffe860023bd98cbb676fac01e6582f5c414b04d8c
|
|
BLAKE2b-256 checksum How to use checksums |
10328949317dfbe090d05990eb4c477354bd4da495289fd883118a9348a623fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for linac-sdk 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.