pylzss is a Python library designed for decoding and encoding data compressed with the LZSS algorithm. It provides efficient handling of LZSS-compressed streams, often found in embedded systems or older file formats. The current version is 0.3.8, with recent releases focusing on bug fixes, build system improvements, and wider platform support.
pip install pylzssVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `pylzss` to compress and decompress a byte string. It initializes an `LzssEncoder` to compress the `original_data` and then uses an `LzssDecoder` to reconstruct it, verifying that the decoded data matches the original.
Always use `pylzss` version 0.3.6 or newer. If you have 0.3.5 installed, upgrade immediately with `pip install --upgrade pylzss`.
Do not attempt to use or install `pylzss==0.3.3`. Use `pylzss==0.3.4` or any newer version.
Ensure you are using `pylzss` version 0.3.1 or newer. Upgrade with `pip install --upgrade pylzss` if you are on an older version and Python 3.10+.
No dependency data recorded yet.