PyTux

Trips of a curious penguin.

Hello, time traveler! You are reading an article that is almost ten years old. The world has changed, and so have I and my opinions. There is a good chance what's below is not current, correct, or secure anymore, and maybe it never was. This page is preserved because I am an archivist at heart, but you have been warned.

Decompressing Lempel-Ziv-Stac in Python

Lempel-Ziv-Stac is a simple (and a bit exotic) compression algorithm, used on embedded devices, for example for config files, for example on routers, for example on those that expose the config file on the public internet. Just sayin’…

There is not a Python implementation of it, so here is my Lempel-Ziv-Stac decompression routine.