Exploratory, (self) educational implementation of ANS in Python, and possibly Rust.
Written by Myles Hathcock, released into the public domain (CC0 / Public Domain)
>>> make
python minimal.py data/test_pg6130.raw
Read 1201891 bytes, compressing...
Compression round trip matches: True
Ratio 1:1.749, compressed is 57.18% of original
>>>