skillfed

lzfse

Python bindings for the LZFSE reference implementation

lzfse v0.4.2 1.2M downloads/30d#4,263 on PyPI0
Permissive license MIT DORMANT released

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 lzfse

uv

uv add lzfse

poetry

poetry add lzfse

Installing 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

lzfse compression pythonlzfse decompression bindingsapple lzfse codeclzfse python librarycompress decompress lzfse
compressioncodec

More Utilities packages