AVIX: The Ultra-Premium Archival Trust Format with SHA-256 Integrity Sentry.
Project description
AVIX: The Archival Trust Format
The world's first mathematically verified, parallelized lossless image format.
AVIX (avix-engine) is an ultra-premium Python library engineered specifically for industries where data loss is physically unacceptable. Built for Medical Imaging (DICOM replacement), VFX Studio Archival, and Government Cold-Storage.
Unlike WebP, AVIF, or JPEG XL—which focus on lossy web delivery—AVIX is designed for absolute paranoia and multi-terabyte storage arrays.
🚀 Key Enterprise Features
- 🛡️ SHA-256 Integrity Sentry: Every
.avixfile is sealed with a cryptographic 32-byte footer. If a hard drive suffers "Bit-Rot" over 20 years and flips a single pixel, the decoder throws a fatal Exception rather than silently loading corrupted medical or scientific data. - ⚡ 100% CPU Unleashed (Multi-Threading): Slices massive images into thousands of 1024x1024 chunks and processes them across all available logical CPU cores simultaneously using
concurrent.futures. - 🧠 Machine-Code Speed via Numba JIT: Employs advanced mathematical spatial heuristics (
AVX2: Left,AVX3: Up,AVX6: Paeth Gradient) compiled dynamically to LLVM 64-bit machine code upon first execution. - 💾 mmap Kernel Streaming: Decodes massive 8K+ images by directly mapping the hard drive file descriptor to the CPU cache, bypassing user-space RAM bottlenecks entirely.
📦 Installation
Install the engine via PyPI (Requires Python 3.8+):
pip install avix-engine
For GPU acceleration (Hybrid VRAM mode), install the optional CuPy dependency:
pip install avix-engine[gpu]
🛠️ Developer API
We provide a streamlined, minimalist API for integration into existing pipelines.
Encoding (Archival Save)
import avix
# Compress a PNG/EXR to a mathematically sealed AVIX archive
success = avix.encode('patient_scan_001.png', 'patient_scan_001.avix', mode='archival')
print(f"Archival Sealed: {success}")
Decoding (Instant Memory Extraction)
import avix
# Decode directly into a Pillow Image object via mmap streaming
try:
img = avix.decode('patient_scan_001.avix')
img.show()
except Exception as e:
# If the file suffered Bit-Rot, it will be caught here instantly!
print(f"CORRUPTION DETECTED: {e}")
Instant Preview Extraction
import avix
# Extract the embedded thumbnail in < 10 milliseconds without decoding the payload
thumb = avix.extract_thumbnail('massive_8k_texture.avix')
thumb.save('preview.jpg')
🧠 Why Not WebP or AVIF?
Formats built by Google and Apple are designed to save bandwidth on 4G networks by throwing away data the human eye can't see. AVIX throws away nothing. It is built to archive raw reality. If you are a hospital storing an MRI, or a VFX studio archiving a $100M film's raw textures, AVIX ensures the math you get out is the exact math you put in.
📄 License
This core mathematical engine is Open-Sourced under the MIT License by Escrawl Products.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 avix_engine-1.0.0.tar.gz.
File metadata
- Download URL: avix_engine-1.0.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5977b07876c3e2a52b0eddd1097d5a69f60e2f5ea9099b198c25202b6868eb12
|
|
| MD5 |
c3b05a9a3226a9cb816b80a3f655fbf2
|
|
| BLAKE2b-256 |
028544136dc4bede0bd02589d5a5c8c1de3cd6bd3a2f64e56cf7f0f491659dcf
|
File details
Details for the file avix_engine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: avix_engine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28dfc46e3adf866fc81922bb513f8b0830dc2ac3db128c15a64bb5f84a962ef5
|
|
| MD5 |
4f373de80e3d3771fcb7ed31c861ff69
|
|
| BLAKE2b-256 |
e554f19ca714b828e40911c19dfef0bb1558f7af3c4ff1aafb6cdf851d5de884
|