lzsslib
Lzsslib is an small library for inflating and deflating LZSS (Lempel, Ziv, Storer, Szymanski) buffers.
The LZSS format is originally described in a paper titled "Data Compression via Textual Substitution" published in Journal of the ACM, 29(4):928-951, 1982 by J.A. Storer and T.G. Szymanski.
Installing
Install and update using pip:
$ pip install -U lzsslib
Usage
The following example shows how to decompress a file using default options.
from pathlib import Path
from lzsslib.decompress import LzssDecompressor
# Create a decompressor object with default options
decomp = LzssDecompressor()
# Open an input and output files
fin = Path('input.lzss').open(mode='rb')
fout = Path('output.bin').open(mode='wb')
# Read the input, decompress and write
while (buffer := fin.read(1024)):
out = decomp.decompress(buffer, remaining_size)
fout.write(out)
# Ensure output is written and close
fout.flush()
fin.close()
fout.close()
Links
- PyPI Releases: https://pypi.org/project/lzsslib/
- Source Code: https://github.com/antoniovazquezblanco/lzsslib
- Issue Tracker: https://github.com/antoniovazquezblanco/lzsslib/issues
Metadata
Release files for lzsslib 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lzsslib-0.0.5.tar.gz | 3.9 kB | With provenance | Details for lzsslib-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lzsslib-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for lzsslib-0.0.5-py3-none-any.whl |
Total release size: 7.7 kB
Release files / lzsslib-0.0.5.tar.gz
| Download URL | lzsslib-0.0.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50097b71157516d557c7cee2c073a7eaaa63ef5fc647bda553849c72045e7a79
|
|
BLAKE2b-256 checksum How to use checksums |
a50aa4b4e58780ecf622c0f879c825c474b8460c248bff56f10939c0ada83a53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2025.
Transparency logRelease files / lzsslib-0.0.5-py3-none-any.whl
| Download URL | lzsslib-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
132eba0077d9cbd49a70415e3657d0f9d3dc07a59b6335efcf246ad60b0a81a3
|
|
BLAKE2b-256 checksum How to use checksums |
4205596b0986076a0731e85d83290b09454e62be668413a864548e11861f5f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2025.
Transparency logSecurity for lzsslib 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lzsslib-0.0.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.