A Python LZSS implementation.
Project description
Python LZSS
A simple Python implementation of the LZSS algorithm.
Please check out this blog post for a walk through of the code.
Install
pip install lzss-python
Use
>>> 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'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lzss-python-0.0.2.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file lzss-python-0.0.2.tar.gz
.
File metadata
- Download URL: lzss-python-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab5ac7e95a353da5cb88fcf3cf972b79090b8925070e0e30ea4214c7fdc58ad |
|
MD5 | bc00b0648c6bf9eb565ea680f17b48a5 |
|
BLAKE2b-256 | db8eb493a566a0cf9cf462bb58893727290c455f2d6235827fcaa108095c8ea0 |
File details
Details for the file lzss_python-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lzss_python-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d64edfc0624344ef467fcfd325fe6085acc30779fe500c704ef8654dcf88b72 |
|
MD5 | e53a9283a4b0fde52ee11f7b14c3f8cc |
|
BLAKE2b-256 | 389d8a2101e786d43f0690f4755f2fb28318632a9cc1e226fb6a2b672056fe76 |