8-primitive geometric compression SDK for IoT sensor data
Project description
ZPE-IoT
Docs | Proofs | API | Benchmarks | Release | Audit
SAL v6.2 — free below $100M annual revenue. See LICENSE.
What This Is
6.6× sensor compression without losing fidelity or determinism. 27/27 destructive tests passed. Bounded-lossy with byte-identical replay. Edge-deployable. Sensor deltas are encoded using an 8-direction amplitude gear codebook with log-magnitude quantisation and RLE.
ZPE-IoT is a deterministic sensor compression SDK for constrained IoT streams — built for industrial IoT platform teams and edge telemetry vendors where transmission bandwidth is expensive, storage budgets are fixed, and lossy black-box codecs are unacceptable. Rust core, Python bindings via PyO3. Every metric traces to committed artifacts under validation/ and proofs/.
The repo is private-stage. Install path and proof artifacts are real. Public package publication (PyPI / crates.io) deferred pending owner approval — acquisition today is repo checkout or owner-shared wheel.
Not claimed: public package availability, universal compressor dominance, lossless reconstruction, runtime coupling to ZPE-IMC, or multi-platform release.
| Field | Value |
|---|---|
| Architecture | SENSOR_STREAM |
| Encoding | DT_CODEC |
Key Metrics
| Metric | Value | Baseline |
|---|---|---|
| COMPRESSION | 6.65× | DS-01..DS-10 mean vs zstd 2.87× |
| E1_WINS | 10/11 | 11-dataset benchmark |
| DT_PASS | 27/27 | strict determinism |
| PREFLIGHT | 94.4% | managed preflight (17/18) |
Source:
proofs/FINAL_STATUS.md,validation/results/bench_summary_E1_real_public_20260321T225305.json,validation/results/release_preflight_report_20260321T205127.json,validation/results/dt_results_20260321T225304.json
Competitive Benchmarks
Full competitive analysis:
docs/BENCHMARKS.md| Source:proofs/artifacts/public_benchmarks/INDEX.json
| Tool | Compression Ratio | Notes |
|---|---|---|
| ZPE-IoT | 6.65× mean (DS-01..DS-10) | Wins 10/11; DS-12 outlier: 120.47× |
| zstd (l3) | 2.87× mean (DS-01..DS-10) | DS-12: 5957.82× — zstd wins the outlier |
| LZ4 | 1.00–2.91× (DS-01..DS-10) | DS-12: 234.06× |
| zlib (l6) | 1.05–7.02× (DS-01..DS-10) | DS-12: 879.68× |
| Gorilla-proxy (XOR+zlib) | 1.04–6.22× (DS-01..DS-10) | DS-12: 814.11× |
DS-12 outlier disclosure: DS-12 is a high-redundancy dataset where general-purpose compressors vastly outperform ZPE-IoT (e.g. zstd achieves 5957.82× vs ZPE's 120.47×). Including DS-12 inflates ZPE's mean to 17.16× but inflates competitors even more, making the all-datasets mean misleading for both sides. The headline 6.65× (DS-01..DS-10) is the honest comparison surface. ZPE-IoT does not claim universal compressor dominance.
Gorilla-proxy disclosure: The "Gorilla-proxy" comparator is a simplified ~25-line XOR-delta + zlib implementation inspired by Facebook Gorilla's XOR encoding approach. It is not Facebook's production Gorilla time-series codec. See validation/benchmarks/bench_vs_gorilla.py for the full implementation.
Baseline methodology: All compression ratios use float64 (8 bytes/sample) as the raw-size denominator. Against a float32 (4 bytes/sample) baseline, ratios would be approximately half the reported values. ZPE-IoT is a bounded-lossy codec; general-purpose baselines (zstd, LZ4, zlib) are lossless.
What We Prove
Auditable guarantees backed by committed proof artifacts. Start at
AUDITOR_PLAYBOOK.md.
- 6.65× mean compression across DS-01..DS-10 (10 non-outlier sensor datasets); DS-12 excluded from headline — see Competitive Benchmarks
- 27/27 destructive tests passed
- Byte-identical deterministic replay on tested corpus
- Managed preflight 17 PASS / 0 FAIL / 1 DEFERRED
- Fresh install smoke test PASS on arm64 macOS
What We Don't Claim
- No claim of lossless reconstruction (bounded-lossy codec)
- No claim of PyPI publication readiness
- No claim of EnOcean or proprietary protocol support
- No claim of MQTT/LoRaWAN production bridge
- No claim of direct Gorilla parity — our Gorilla-proxy comparator is a simplified XOR+zlib implementation, not Facebook's production Gorilla codec
- No claim of unlimited stream length — codec has a 65,536-sample hard cap (2-byte header); approximately 16 minutes at 60 Hz
- No claim of NaN/Inf tolerance — non-finite floating-point inputs cause codec failure
Open Risks (Non-Blocking)
| Risk lens | Current state |
|---|---|
| Publication | Public package publication remains deferred by policy; use the private repo or owner-shared wheel instead of claiming PyPI/crates.io availability. |
| Benchmark boundary | The active E1 surface is DS-01..DS-10 plus DS-12; DS-11 remains explicitly BLOCKED. |
| Comparator honesty | ZPE-IoT does not win every slice; DS-12 is a competitor win on the current E1 real-public surface. |
| Native scope | Local arm64 macOS wheel install is verified; the multi-platform publish workflow exists but has not been executed as a public release event. |
| Fidelity boundary | ZPE-IoT is a bounded-lossy codec. It is not a fit for strict lossless reconstruction requirements. |
| Gorilla-proxy comparator | The Gorilla-proxy benchmark comparator is a simplified XOR+zlib proxy, not Facebook's production Gorilla codec. |
| Stream length cap | Codec enforces a 65,536-sample hard cap (2-byte header). At 60 Hz this is ~16 minutes of data. |
| Non-finite inputs | NaN and Inf values are not handled; they cause codec failure. |
| CR denominator format | Compression ratios use float64 raw size as denominator. Against float32 baselines, ratios are approximately half. |
Commercial Readiness
| Field | Value |
|---|---|
| Verdict | STAGED |
| Commit SHA | b345798d3c7f |
| Confidence | 94.4% |
| Source | proofs/FINAL_STATUS.md |
Evaluators: Ready for technical evaluation.
pip install -e .in a clean venv. Contact hello@zer0pa.com for integration guidance.
Authority Notes
| Field | Current truth | Evidence |
|---|---|---|
| As of | 2026-03-21 |
Final status |
| Repository URL | https://github.com/Zer0pa/ZPE-IoT |
Citation |
| Repo classification | private-stage multi-surface codec repo |
Technical alignment proof |
| Release unit | python/ distribution with bundled native wheel; core/ and c/ remain sibling engineering surfaces |
Technical alignment proof |
| Acquisition surface | Private repo checkout or owner-shared built wheel from python/dist/ |
Native wheel verification |
| Managed preflight | 17 PASS / 0 FAIL / 1 DEFERRED |
Preflight report |
| Strict DT | 27/27 PASS |
DT report |
| Fresh install smoke | PASS on local arm64 macOS cold install |
Cold-install smoke |
| Benchmark authority | E1, 10/11 wins, 6.65× DS-01..DS-10 mean CR |
E1 summary |
| Known real blockers | none |
Technical alignment proof |
| Publication posture | tag/index publication and outreach deferred pending explicit owner approval |
Preflight report |
| Canonical evidence entry | proofs/PROOF_INDEX.md |
Proof index |
Confidence is derived from the managed-preflight completeness score in validation/results/release_preflight_report_20260321T205127.json: 17 / 18 = 94.4%.
Tests and Verification
| Code | Check | Verdict |
|---|---|---|
| V_01 | Technical alignment | PASS |
| V_02 | Managed preflight | PASS |
| V_03 | Strict destructive tests | PASS |
| V_04 | E1 real-public benchmark | PASS |
| V_05 | Native wheel cold install | PASS |
| V_06 | Public package publication | INC |
Managed preflight is the build/install/release gate, strict DT is the destructive-test gate, and E1 is the promoted real-public benchmark tier.
Proof Anchors
| Path | State |
|---|---|
| proofs/FINAL_STATUS.md | VERIFIED |
| proofs/artifacts/REPO_TECHNICAL_ALIGNMENT_20260321.md | VERIFIED |
| validation/results/release_preflight_report_20260321T205127.json | VERIFIED |
| validation/results/dt_results_20260321T225304.json | VERIFIED |
| validation/results/bench_summary_E1_real_public_20260321T225305.json | VERIFIED |
| validation/results/fresh_env_smoke_20260321T205515/smoke.log | VERIFIED |
Repo Shape
| Field | Value |
|---|---|
| Proof Anchors | 6 |
| Modality Lanes | 9 |
| Authority Source | proofs/FINAL_STATUS.md |
Modality Lanes counts the nine preset lanes exposed by python/zpe_iot/presets.py.
Directory Map
| Area | Purpose |
|---|---|
README.md, CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, SUPPORT.md, GOVERNANCE.md, RELEASING.md, ROADMAP.md, CITATION.cff, LICENSE |
Root truth, governance, release, and citation surface |
python/ |
Installable Python distribution, CLI, and package metadata |
python/native/ |
Repo-local PyO3 native build surface used for bundled wheels |
core/ |
Canonical Rust codec kernel and test surface |
docs/ |
Reader-facing architecture, benchmark, support, and legal routing |
docs/family/ |
IMC contract-alignment artifacts; documentary only, not runtime-coupled |
proofs/ |
Current verdict, proof routing, receipts, runbooks, and artifacts |
validation/ |
Datasets, benchmarks, destructive tests, and generated result JSON |
project_docs/, release/RC_* |
Operator lineage and historical release packets, not the front-door authority surface |
Quick Start
git clone https://github.com/Zer0pa/ZPE-IoT zpe-iot
cd zpe-iot
python -m pip install -e './python[dev]'
cargo test --manifest-path core/Cargo.toml --release
python validation/destruct_tests/run_all_dts.py --strict-gates
Acquisition surface: private repo checkout or owner-shared built wheel from python/dist/.
Docs and Support
| Route | Target |
|---|---|
| Documentation index | docs/README.md |
| Canonical doc registry | docs/DOC_REGISTRY.md |
| Architecture and runtime map | docs/ARCHITECTURE.md |
| API and CLI details | docs/API.md, docs/CLI_CONTRACT.md |
| Benchmark authority and boundaries | docs/BENCHMARKS.md |
| Audit replay path | AUDITOR_PLAYBOOK.md |
| Public audit boundary | PUBLIC_AUDIT_LIMITS.md |
| Contribution rules | CONTRIBUTING.md |
| Support routing | docs/FAQ.md first, then docs/SUPPORT.md, then SUPPORT.md for repo-level policy |
| Security reporting | SECURITY.md |
| Legal/release boundary | docs/LEGAL_BOUNDARIES.md, RELEASING.md |
Treat project_docs/ and older release/RC_* bundles as lineage. Current repo truth lives in the cited March 21 proof and validation artifacts above.
Ecosystem
This package is part of the Zer0pa ZPE codec portfolio. See also: zpe-xr, zpe-robotics, zpe-geo, zpe-finance, zpe-ink, zpe-multimodal, zpe-neuro, zpe-mocap, zpe-prosody, zpe-bio.
Observability: Comet dashboard (public)
Who This Is For
| Ideal first buyer | Industrial IoT platform team or edge telemetry vendor |
| Pain | High-frequency sensor streams overwhelm bandwidth and storage at the edge — generic compression breaks fidelity guarantees and replay determinism |
| Deployment | SDK with Rust core and Python bindings |
| Family position | Product candidate in the Zer0pa deterministic encoding family. ZPE-IMC is the umbrella integration layer |
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 Distributions
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 zpe_iot-0.1.0.tar.gz.
File metadata
- Download URL: zpe_iot-0.1.0.tar.gz
- Upload date:
- Size: 99.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa7b6ac98157b4f2755ceb9034a332eb9945fce3c3ea2460e0324d88d8766b31
|
|
| MD5 |
5b900c65fc554fd9e52ec62601021755
|
|
| BLAKE2b-256 |
d615df17ab51fff9fbddffb8fd8c566c73c7d8cb0aceeb4eb6fa1fcff2f14e24
|
File details
Details for the file zpe_iot-0.1.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: zpe_iot-0.1.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 232.1 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62d4ae7d83bdfed0501467b5326d8ba24ed5cd9af6fe45755a7eda9e52bff9cc
|
|
| MD5 |
3139f96b0d4783abaabf246a531c1e29
|
|
| BLAKE2b-256 |
ede729c477af0452a74104463e0a333ead837a4962800a2b11a5acb5b0253d40
|
File details
Details for the file zpe_iot-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: zpe_iot-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 328.8 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97643aba936dac96b50815640ecb921ce9fee8f52eb5c0fde12bf8a303134410
|
|
| MD5 |
4d60151bf66b54df259dde274c756a2d
|
|
| BLAKE2b-256 |
94a56870f60c6eef37aebcd00b51b8e38d87acca5a2b7b09a6a0037a5abbb808
|
File details
Details for the file zpe_iot-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: zpe_iot-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 319.2 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a61dff276c7eed1cdf5cb67f6cfb0da56e98c353f5baf8d79e7d870c49512d36
|
|
| MD5 |
3623be7ac3a3e3a073bef46b48e4a2a3
|
|
| BLAKE2b-256 |
af174c1712812d3e9feb0c81bad523b10ce615500535de7894fece41a337a767
|
File details
Details for the file zpe_iot-0.1.0-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: zpe_iot-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 304.5 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e80cfa74373b3ff4ef81ec8a2337b75a5ef47bf1c9afe8aab0732797016a74c8
|
|
| MD5 |
01873c868382f34b7261211894716327
|
|
| BLAKE2b-256 |
fa1373891733fca74d6bacfb0d3d521e71c66809e9632a3b129bd82373ec10f3
|