This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.3.1 instead.
Reason given by maintainers: Benchmark figures in this release's description were not reproducible; superseded by 1.3.0
KolmoX
KolmoX is an enterprise-grade, high-throughput lossless data compression framework. While traditional compressors (such as Gzip, LZMA, and standalone Zstd) treat inputs as opaque 1D byte streams, KolmoX employs a two-stage pipeline based on Kolmogorov Structural Preconditioning:
- Domain-Aware Structural Transformations: Automatically detects data topology and applies deterministic, bit-exact transforms (IEEE-754 float32 byte-plane slicing, CNC G-Code axis isolation, stereo PCM decorrelation, 2D spatial delta modeling, and x86 BCJ branch normalization) to eliminate correlation entropy.
- KMX2 Multi-Stream Container: Encapsulates primary and auxiliary streams into a 24-byte fixed-header format with high-speed Zstandard FSE entropy coding.
- High-Performance & Streaming: Features C-accelerated transposition kernels (up to 826+ MB/s), a constant-memory chunked streaming engine (
KolmoXStreamer) for multi-GB workloads, and a standalone C-ABI (include/kolmox.h) with CMake support.
📊 Real-World Benchmark Results
All tests certify exact mathematical data restoration (zero precision loss, bit-exact roundtrip):
| Data Domain | Pipeline / Transform | Gzip (L9) | Zstd (Base) | KolmoX (KMX2) | Gain vs Zstd | Throughput (Comp / Decomp) |
|---|---|---|---|---|---|---|
| 2D Uncompressed Raster (RGB) | 2D Spatial Delta + Color Slicing | 2.10x | 4.30x | 89.08x | +1970% | ~240 MB/s / ~310 MB/s |
| Binary Register Packets (.bin) | Stride Autocorr + Demux | 2.65x | 4.83x | 55.53x | +1050% (11.5x) | ~180 MB/s / ~260 MB/s |
| LiDAR XYZ Point Cloud | Columnar Coordinate Isolation | 8.40x | 27.11x | 47.31x | +42.70% | 77.3 MB/s / 112.1 MB/s |
| Industrial Telemetry (.csv) | Columnar Demux + Quant Delta | 3.93x | 19.65x | 40.20x | +104% | ~120 MB/s / ~190 MB/s |
| CNC G-Code (.gcode) | Columnar Axis Separation | 4.20x | 5.69x | 29.25x | +63.94% | 18.8 MB/s / 30.8 MB/s |
| Parametric 3D CAD Mesh (.obj) | Ordered Vertex Transpose | 4.38x | 8.42x | 14.07x | +67% | ~95 MB/s / ~140 MB/s |
| 4K & 5K Video Streams (60fps) | Temporal NVDEC + Delta-XOR | ~1.10x | ~1.15x | 3.15x – 6.56x | +170% | ~450 MB/s / ~600 MB/s |
| Scientific Float32 (.npy) | Byte-Plane Slicing (Sign/Exp/Mant) | 1.15x | 1.30x | 28.77x | +31.98% | 826.3 MB/s / 750.0 MB/s |
| Audio PCM 16-bit (.wav) | Stereo Decorrelation + Diff | 1.01x | 39.81x | 41.55x | +17.72% | 457.5 MB/s / 354.5 MB/s |
| x86 Binary Executable (.exe) | Branch Target Normalizer (BCJ) | 5.40x | 7.59x | 7.65x | +0.76% | ~380 MB/s / ~420 MB/s |
🚀 Installation & Setup
# Clone the repository
git clone https://github.com/Toskurim/KolmoX.git
cd KolmoX
# Install Python package in editable mode (with C-extension)
pip install -r requirements.txt
pip install -e .
⚙️ CMake Standalone C-Library Build
For direct C/C++/Rust integration without Python:
cmake -B build
cmake --build build --config Release
This generates libkolmox.so (or kolmox.dll / libkolmox.dylib) using the public C-ABI defined in include/kolmox.h.
🔧 Quickstart CLI
# Auto-detect domain and compress into KMX2 container
kolmox compress path/to/file.gcode -o file.kmx
# Bit-exact decompression
kolmox decompress file.kmx -o restored.gcode
# Run throughput benchmark suite
python tests/benchmark_throughput.py
🔄 Constant-Memory Streaming API
For multi-Gigabyte files, KolmoX provides a streaming engine that executes in bounded RAM (default 8MB chunks):
from kolmox.core.streaming import KolmoXStreamer
streamer = KolmoXStreamer(chunk_size=8 * 1024 * 1024)
# Stream compression from file-like objects
with open("large_scan.xyz", "rb") as src, open("large_scan.kmxs", "wb") as dst:
streamer.compress_stream(src, dst, filename="large_scan.xyz")
🛡️ Testing & Fuzz Resilience
KolmoX includes a 32-test validation suite covering end-to-end roundtrips, C-ABI equivalence, and fuzz resilience against malformed or truncated data:
pytest tests/ -v
📖 Technical Whitepaper
A full academic whitepaper detailing the Kolmogorov complexity foundations, KMX2 container specification, and mathematical transforms is available in docs/WHITEPAPER.md and as a downloadable PDF in docs/KolmoX_Technical_Paper_v1.1.0_Complete_EN.pdf.
📜 License
KolmoX is dual-licensed:
- Open Source: GNU Affero General Public License v3.0 (AGPLv3).
- Commercial & Enterprise: For proprietary software integration without AGPLv3 copyleft obligations, contact
toskurim@gmail.com.
Metadata
Release files for kolmox 1.1.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 | |
|---|---|---|---|---|
| kolmox-1.1.0.tar.gz | 31.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kolmox-1.1.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
Total release size: 58.7 kB
Release files / kolmox-1.1.0.tar.gz
| Download URL | kolmox-1.1.0.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eb91bc0134d70833b53e5dfbd509c639604e59474eb2bb6c7ed8271ffe525bb
|
|
BLAKE2b-256 checksum How to use checksums |
588e51448b879828cef36c8274c4ecf382d0e4ad4eae487ed729698ff410058f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / kolmox-1.1.0-cp312-cp312-win_amd64.whl
| Download URL | kolmox-1.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 27.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
60f08e1dac6be390e91230c6a7ad85dd13607ffef3f81ac0e00911a2f9f62af2
|
|
BLAKE2b-256 checksum How to use checksums |
624897493c6208aa64391c59812aa81d9964ac1a0d57cf726f9df4ef66d03d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for kolmox 1.1.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.