Repository navigation
Releases
Neuralzip 0.3.1
The package, Python import and commands are now named Neuralzip.
pip install neuralzip
neuralzip encode notes.txt
neuralzip decode notes.txt.nzipExisting .nzip archives remain compatible. Isolated training, one CPU thread/worker by default, and explicit GPU opt-in are unchanged. Targeted CLI, archive compatibility and installed-PyPI checks passed.
The independent website now supports pasted UTF-8 text, encoding samples, a book library and live chunk reconstruction with pause/resume. Files over 1 MB show guidance rather than a fixed small-file cutoff. Browser memory and archive-format capacity still apply.
Neurzip 0.3.0
Neurzip is a model-based lossless text compressor. Each nonempty archive includes a file-specific transformer and an arithmetic-coded stream. Restored bytes are verified with SHA-256.
pip install neurzip
neurzip encode notes.txt
neurzip decode notes.txt.nzipEncoding defaults to isolated CPU training with one thread and one coding worker. Training exits and releases memory before coding starts. GPU training requires an explicit --device mps or --device cuda.
Validation: 35 Python tests, 10 browser tests, and nine independently encoded representative-file round trips. The complete Alice text compressed from 151,094 to 80,193 bytes (1.88×) with the normal 60-second CPU budget; small files trained briefly can grow due to model overhead. All restored hashes matched. See the attached acceptance report for measured timings and settings.