{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Compression","url":"https://skillfed.io/packages/category/system-archiving-compression"}],"enrichment":{"capability":"Thin Python wrapper around libdeflate for fast gzip, DEFLATE, and zlib compression/decompression, plus CRC32 and Adler-32 checksum computation.","skillfed_tags":["compression","c-extension","checksum"],"use_cases":["Compress large text or binary payloads for network transmission or storage when speed matters more than standard library zlib.","Decompress gzip or zlib data received from external sources with a simpler API than the standard library.","Compute rolling CRC32 or Adler-32 checksums across multiple data chunks for integrity verification.","Work with raw DEFLATE streams where you manage the original size separately, as required by some protocols.","Replace zlib in performance-critical paths where libdeflate's faster implementation reduces CPU overhead."],"what_it_does":"deflate is a thin Python binding to Eric Biggers' libdeflate C library, exposing compression and decompression for gzip, raw DEFLATE, and zlib formats. It also provides CRC32 and Adler-32 checksum functions. The package is built as a compiled extension with pre-compiled wheels for common platforms, so installation typically requires no build step.\n\nYou use it when you need faster compression than Python's built-in zlib module, or when you want to work with raw DEFLATE or zlib data streams where the original decompressed size must be tracked separately. The API is minimal: functions like gzip_compress, deflate_decompress, and crc32 take byte strings and optional parameters (compression level, initial checksum state) and return the result directly.","worth_installing":"Yes, if you need faster compression/decompression than the standard library and are comfortable with a compiled dependency. The package is actively maintained, has no known vulnerabilities, and offers pre-compiled wheels for most platforms. Install friction is medium but manageable. Not necessary if standard library zlib meets your performance needs."},"id":"deflate","links":{"html":"https://skillfed.io/packages/deflate","md":"https://skillfed.io/packages/deflate.md","pypi":"https://pypi.org/project/deflate/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-18","license_spdx":null,"license_treatment":"permissive","name":"deflate","python_support":"supports_current","summary":"Python wrapper for libdeflate."},"popularity":{"monthly_downloads":331744,"position":7512,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.1"}
