Skip to content
baguet 1.0.9

baguet 1.0.9

Pypi •[email protected] • November 30, 2026

Algebraic Lossless Memory Engine & Zero-Decompression Compute Codec for AI, Multimedia, and Critical Infrastructure.

Baguet Studio 1.0 — Local Air-Gapped Storage & AI Memory Auditor (SHA-256 Bit-Exact · Rust SIMD).

Baguet ( 1.0 ) is an industrial-grade 100% bit-exact lossless algebraic memory engine and compressor. It is engineered to eliminate memory bottlenecks (RAM/VRAM), disk I/O latency, and bandwidth costs across mission-critical Artificial Intelligence (LLMs, RAG, SafeTensors) , Data Engineering ( Parquet , JSONL , CSV ) , and Multimedia ( PNG , JPEG , MP4 , WAV , PDF ) infrastructure.

While general-purpose classical compressors ( zstd , gzip , lz4 , xz ) treat files as opaque, linear byte streams—requiring expensive full decompression into RAM before any operation—Baguet introduces an information-geometry-driven approach:

High-Density Structural Encoding: The engine operates directly on the multidimensional organization of data through a proprietary Topology-Aware Algebraic Encoding pipeline. Instead of treating tensors ( FP32 , FP16 , BF16 ) and tables as opaque byte streams, the core maps native structures into independent algebraic blocks with low residual entropy, maximizing physical storage density with zero loss of precision or integrity;

Zero-Decompression Compute ( Compute-on-Compressed-Data ): AI algorithms execute Top-K RAG vector with sub-linear pruning, multi-block LLM attention ( Online Flash-SDPA ), linear projections, and selective Zero-Copy mmap extraction directly over compressed bytes;

Cryptographic SHA-256 Bit-Exact Guarantee & 100% Offline Operation: Every container embeds an authenticated SHA-256 digest with mandatory fail-closed verification. Zero telemetry, zero cloud dependencies, and 100% air-gapped enterprise license validation via Ed25519 cryptographic tokens.

Certified Benchmark Summary ( Baguet 1.0 )

Results measured in an audited staging environment using a 53-scenario stress suite with zero regression tolerance:

Methodology Note and Real-World Entropy Ranges: The results in the table above reflect real production datasets. In practice, the lossless reduction rate achieved by Baguet Studio or via the CLI follows three fundamental physical rules: Raw, Structured Data & AI Tensors (50% to 98%+ reduction): Columnar/CSV tables, telemetry time series, repetitive logs, AI model weights ( .safetensors , FP16 / BF16 ), genomics ( .bam / .fastq ), scientific matrices, and raw medical/spatial imagery ( .dcm , .fits , .tiff ) exhibit high algebraic structure and multi-column correlation, achieving the highest reduction rates in dedicated containers ( .bgtt , .bgtp , .bgtu ). Media & Pre-Compressed Source Files — Bijective Transcoding (5% to 48% additional reduction): Formats such as .png , .jpeg , .mp4 , .mov , .flac , .pdf , and .docx already apply native entropy compression (DEFLATE, AAC/H.264, FLAC). For these formats, Baguet operates via Bijective Transcoding ( CONVERT FILE ), unpacking the stream and applying superior contextual modeling before sealing the .bgt container, with guaranteed bit-for-bit ( SHA-256 ) restoration of the original file. For very small files ( = 2.31 on x86_64 (servers, HPC clusters) and aarch64 / ARM64 (AWS Graviton, Ampere Altra, NVIDIA Grace);

macOS: Apple Silicon ( arm64 — M1, M2, M3, M4) and Intel ( x86_64 );

Windows: Windows 10 and Windows 11 (64-bit x64 ).

Includes native SIMD compilation with automatic runtime dispatch: AVX2 + FMA acceleration on x86_64 architectures and NEON on ARM64 architectures.

Option 1: Via Python Package Manager ( pip )

Native Engine Integrity Validation

After installation, run the self-test routine to validate the C-ABI bridge integrity, CPU SIMD extensions, and memory tolerance bounds:

1. Visual Desktop Application ( Baguet Studio )

Baguet Studio provides an integrated visual desktop interface to compress files, run AI benchmarks, inspect container headers, and manage licenses locally:

From the SETTINGS / TOOLS panel in the upper-right corner of Studio, you can also run the self-test suite, check for online updates or validate offline packages ( .bgtupd ), manage your subscription, shut down the local session, or completely uninstall the package ( DELETE ).

2. Command-Line Interface ( CLI )

The unified Baguet CLI tool enables direct automation in CI/CD pipelines, backup scripts, and container orchestration:

3. Python SDK Integration ( baguet_sdk )

The baguet_sdk package exposes baguet_sdk.core (universal file and system operations) and baguet_sdk.ai (matrix kernels, attention, and embeddings):

The 9 Native Formats of the .bgt* Family

Each extension is identified by an atomic 4-to-8-byte Magic Header , enabling constant-time O(1) inspection without full container parsing:

Security, Reliability & Fault-Tolerance Architecture

Authenticated Encryption BGT-AE ( AES-256-SIV + HKDF-SHA256 + Universal Passphrase): Implements RFC 5297 nonce-misuse resistance under a Compress-then-Encrypt architecture, ensuring privacy and authenticity with Associated Authenticated Data ( AAD ) support. In Studio (creation requires Growth+ plan; minimum 12 characters), the CLI ( --key ), and the Python SDK, the key is derived directly from a user-defined passphrase —never tied to the BGTL1 license token—surviving renewals, cancellations, and cross-team sharing. Important: store your passphrase securely (there is no recovery) and keep a backup copy of any .bgtpr dictionary used during compression, as the exact same .bgtpr is required to decompress data written with it. Opening and decompressing with the passphrase (and .bgtpr , if used) always works, with no plan restrictions.

Mandatory Fail-Closed SHA-256 Verification: Any on-disk tampering, bit-rot, or injection attack triggers immediate packet rejection before delivery to the application ( BaguetIntegrityError ), preventing corrupted data leakage.

Decompression Bomb Immunity: Hard output allocation bounds ( max_output_bytes ) and strict metadata validation prior to any dynamic RAM allocation.

Transactional Atomic Writes: Safe persistence with guaranteed flush via fsync (Linux/macOS) and FlushFileBuffers (Windows), followed by atomic replacement over a closed file descriptor to prevent power-loss data corruption.

100% Offline & Sovereign Operation: Zero outbound network calls, zero telemetry, and fully local cryptographic license validation.

Defensive Protection Against Decompressor Exploits (CVE-2026-111497 / Brotli HTTP2Shell): Active multi-block mitigation in the external pre-compressed stream unpacker with strict buffer limits and prevention of infinite C memory allocation loops. In high-containment regulatory environments, setting BAGUET_REQUIRE_PATCHED_BROTLI=1 ensures vulnerable brotli libraries ( " command, or Hall 05 in Studio ( ACTIVATE CREDENTIAL and CHECK / RENEW CREDENTIAL ), requiring neither continuous connectivity nor online activation. If a paid plan enters its Grace Period ( 7 , 15 , or 90 days) or expires, file reading and decompression remain free and unlimited forever.

Environment Variables & Secure Configuration

The Baguet ecosystem exposes audited environment variables for container orchestration, CI/CD pipelines, and security compliance:

Official Documentation & Institutional Channels

Public GitHub Repository:

Official Portal & Plans:

Technical Operations Guide:

Institutional Litepaper & Architecture:

Terms of Use & Disclaimer:

Privacy & Data Sovereignty Policy:

Institutional & OEM : @soilore.com

Release files for baguet 1.0.9

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

Built distributions (wheels)

Total release size: 8.5 MB

Release files / baguet-1.0.9-py3-none-win_amd64.whl

Release files / baguet-1.0.9-py3-none-manylinux_2_28_x86_64.whl

Release files / baguet-1.0.9-py3-none-macosx_11_0_arm64.whl

Security for baguet 1.0.9

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.

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.

Release history Release notifications | RSS feed

Nov 30, 2026 3 release files No provenance

Nov 29, 2026 3 release files No provenance

Nov 29, 2026 3 release files No provenance

Nov 28, 2026 3 release files No provenance

Nov 28, 2026 3 release files No provenance

Nov 27, 2026 3 release files No provenance

Nov 27, 2026 3 release files No provenance

Nov 26, 2026 3 release files No provenance

Nov 26, 2026 3 release files No provenance

Nov 25, 2026 3 release files No provenance

Nov 24, 2026 3 release files No provenance

Extracted Entities

Attack Types (1)

Domains (1)

Vulnerabilities (1)