Metadata-Version: 2.1
Name: lzss-python
Version: 0.0.2
Summary: A Python LZSS implementation.
License: MIT
Author: Tim Cogan
Requires-Python: >=3.10
Requires-Dist: bitarray
Description-Content-Type: text/markdown

# Python LZSS

A simple Python implementation of the [LZSS algorithm](https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Storer%E2%80%93Szymanski).

Please check out this [blog post](https://tim.cogan.dev/lzss) for a walk through of the code.

## Install

`pip install lzss-python`

## Use

```python
>>> import lszz
>>> compressed = lzss.compress(b'my data my data my data')
>>> compressed
b'6\x9eD\x06C\t\xd0\xc2 \x80F\x80'
>>> lzss.decompress(compressed)
b'my data my data my data'
```
