lzfse
Python bindings for the LZFSE reference implementation
What it is and what it does
lzfse is a thin Python wrapper around Apple's LZFSE reference compression implementation. It exposes the core compress and decompress operations as Python functions, allowing developers to work with LZFSE-encoded data directly from Python code without calling external tools. The package provides no runtime dependencies and ships with prebuilt wheels for common platforms.
The package is minimal and focused: it does one thing—bridge Python to the LZFSE codec—and does not attempt to provide a high-level API, streaming interfaces, or file-handling utilities. It is useful when you need to read or write LZFSE data as part of a larger workflow, but it is not a general-purpose compression toolkit.
Use it for:
- Decompress LZFSE-encoded files from Apple systems or tools that use LZFSE compression.
- Integrate LZFSE compression into Python applications for data storage or transmission.
- Work with compressed archives or firmware images that use the LZFSE algorithm.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python bindings for the LZFSE reference implementation, providing compression and decompression of LZFSE-encoded data.
Yes, if you specifically need LZFSE compression/decompression in Python. The MIT license, zero runtime dependencies, and availability of prebuilt wheels make it straightforward to install. However, the package has been dormant since April 2024 and receives no active maintenance, so verify that the current version meets your needs before depending on it for production use.
Install
lzfse on PyPI
pip
pip install lzfseuv
uv add lzfsepoetry
poetry add lzfseInstalling lzfse
Before you install
Medium install friction due to compiled wheels; prebuilt binaries are available for Python 3.10 and 3.11 across macOS, Linux, and Windows architectures, but the package has been dormant since its initial release in April 2024.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install lzfse
import lzfse
compressed = lzfse.compress(b'data')
decompressed = lzfse.decompress(compressed)
Requires Python >= 3.8; prebuilt wheels available only for Python 3.10 and 3.11.
Verify before relying
- Whether the package is actively maintained or if dormancy signals abandonment
- Performance characteristics compared to alternative compression libraries
- Compatibility with Python versions beyond 3.11
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 847 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,177,838/month — #4,263 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: lzfse-0.4.2-cp310-cp310-macosx_10_9_x86_64.whl; lzfse-0.4.2-cp310-cp310-macosx_11_0_arm64.whl; lzfse-0.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; lzfse-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; lzfse-0.4.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; lzfse-0.4.2-cp310-cp310-musllinux_1_1_aarch64.whl; lzfse-0.4.2-cp310-cp310-musllinux_1_1_i686.whl; lzfse-0.4.2-cp310-cp310-musllinux_1_1_x86_64.whl; lzfse-0.4.2-cp310-cp310-win32.whl; lzfse-0.4.2-cp310-cp310-win_amd64.whl; lzfse-0.4.2-cp311-cp311-macosx_10_9_x86_64.whl; lzfse-0.4.2-cp311-cp311-macosx_11_0_arm64.whl; lzfse-0.4.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; lzfse-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; lzfse-0.4.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; lzfse-0.4.2-cp311-cp311-musllinux_1_1_aarch64.whl; lzfse-0.4.2-cp311-cp311-musllinux_1_1_i686.whl; lzfse-0.4.2-cp311-cp311-musllinux_1_1_x86_64.whl; lzfse-0.4.2-cp311-cp311-win32.whl; lzfse-0.4.2-cp311-cp311-win_amd64.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
apple-compressPython bindings for Apple's libcompression…
unclear · top 15,000 on PyPI
lzallrightlzallright provides Python bindings to compress…
permissive · top 15,000 on PyPI
unlzw3Decompresses .Z files (Unix compress format)…
permissive · top 15,000 on PyPI
python-neo-lzfProvides fast compression and decompression of…
permissive · top 15,000 on PyPI
python-snappyPython binding for Google's Snappy compression…
permissive · top 5,000 on PyPI
ncompressProvides LZW compression and decompression…
permissive · top 15,000 on PyPI
python-lzfProvides Python bindings to the liblzf…
permissive · top 15,000 on PyPI
brotlicffiProvides Python CFFI bindings to the Brotli…
permissive · top 5,000 on PyPI
inflate64Provides Deflater and Inflater classes to…
copyleft · top 5,000 on PyPI
compressed-rtfCompresses and decompresses Rich Text Format…
permissive · top 5,000 on PyPI