Skip to main content
Yanked

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 CI/CD Pipeline Release v1.1.0 License: AGPLv3 Dual License: Commercial

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:

  1. 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.
  2. KMX2 Multi-Stream Container: Encapsulates primary and auxiliary streams into a 24-byte fixed-header format with high-speed Zstandard FSE entropy coding.
  3. 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:

Metadata

Release files for kolmox 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kolmox 1.1.1
File Size Uploaded Provenance
kolmox-1.1.1.tar.gz 37.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kolmox 1.1.1
File Interpreter ABI Platform
kolmox-1.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details

Total release size: 71.9 kB

Release files / kolmox-1.1.1.tar.gz

Download URL kolmox-1.1.1.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0792c8ab9ee5e582c6518b48ca52dfa49e9aac2e6ac86f71df46a19e46d383db
BLAKE2b-256 checksum
How to use checksums
a4b3a17b083872ecf70563f49b7e5494ad8356b47bcb0a85a2cbe5d95250d572
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.1-cp312-cp312-win_amd64.whl

Download URL kolmox-1.1.1-cp312-cp312-win_amd64.whl
Size 34.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
83613d3e4fdd74a7e0b98b2f43346b947aeeac027ba33e5186a9e30a0b68f2c9
BLAKE2b-256 checksum
How to use checksums
25d547c51b1f3dd5f9ea1ba38e9990511b8d2b51e5362d0f65db066519d46025
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.1

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.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page