Packages
Provides Python bindings to the Brotli compression library, enabling lossless compression and decompression using a modern LZ77 variant with Huffman coding and context modeling.
Install it if you need Brotli compression in Python; the API is straightforward and the library is battle-tested.
Provides Zstandard compression support for Python versions before 3.14, backporting the standard library's zstd module along with zstd-enabled tarfile and zipfile modules.
Zopfli is a Python binding for Google's Zopfli compression library, providing higher-density compression for zlib and gzip formats than standard algorithms, with tunable iteration and block-splitting parameters.
Python binding for Google's Snappy compression library, providing fast compression and decompression of data via the cramjam backend.
However, dormant maintenance (715 days since last release) means security or compatibility issues may not be addressed quickly.
pyzipper replaces Python's standard zipfile module to read and write AES-encrypted zip archives, using the WinZip AES encryption specification.
Provides Python bindings to the Zstandard (zstd) compression library with an API similar to bz2, lzma, and zlib modules.
Compresses and decompresses Rich Text Format (RTF) data using the LZFu compression algorithm, implementing the Microsoft RTF Compression format.
However, maintenance is aging with no recent updates; verify that it meets your RTF variant requirements before relying on it for new projects.
Reads RAR archive files (RAR3 and RAR5 formats) in pure Python, with support for multi-volume archives, password protection, and Unicode filenames, delegating decompression to external tools like unrar or 7zip.
netcdf4 provides a Python interface to read, write, and manipulate netCDF version 4 files through bindings to the netCDF C library.
Provides Python bindings for Intel's ISA-L library to accelerate zlib and gzip compression and decompression with drop-in replacement modules.
Provides faster zlib and gzip compression and decompression by wrapping the zlib-ng library with Python bindings that serve as drop-in replacements for the standard library modules.
Install only if your workload is actually bottlenecked on compression—the standard library zlib is sufficient for most use cases.
Provides a backport of Python 3.6's zipfile module for use on earlier Python versions, enabling access to improvements made in that release.
Extends Python's standard zipfile module to read and write ZIP archives using Zstandard compression, via a monkey patch that registers the algorithm as a supported compression method.
However, do not rely on it for active development or expect updates if Python's zipfile module changes significantly; it is best suited for stable, self-contained use…
Patool is a command-line archive manager that can create, extract, test, list, search, repack, and compare archives in many formats with a unified interface.
Enables extraction of Deflate64-compressed ZIP archives using Python's standard zipfile API, patching the module to support a compression format that standard zipfile cannot handle.
However, note that it is dormant (last release January 2022) and may not receive updates for future Python versions; verify compatibility with your target Python…
Decompresses DEFLATE and DEFLATE64 streams in pure Python, designed to handle streaming data where the compressed content length is unknown or followed by additional data.
Streams unzip operations on ZIP archives without loading entire files into memory, supporting Deflate, Deflate64, Zip64, AES encryption, ZipCrypto, and BZip2 compression.
Provides utility functions for working with archive files (ZIP, TAR, and related formats) in Python, wrapping and extending standard library archiving operations.
However, verify that its specific helpers match your use case—the excerpt does not detail what operations it provides beyond standard tools.
Lossily compresses floating-point NumPy arrays into byte strings with user-specified accuracy, designed for storing training data and models in machine learning workflows.
Python wrapper for the Blosc compression library, providing fast compression and decompression of binary data optimized for numerical arrays and low-entropy data.
However, check whether Python-Blosc2 better suits your needs if you require more advanced features or plan a new project, as the maintainers recommend it as the more…
Constructs ZIP archives on-the-fly without storing the entire file in memory or disk, supporting both Zip32 and Zip64 formats, password protection with AES-256 encryption, and streaming output.
Install it if you need to generate ZIPs on-the-fly in a web server or similar streaming context.
Creates password-encrypted ZIP files that can be extracted on Windows, wrapping the minizip C library for compression and decompression with optional password protection.
Install only if you need Windows-compatible encrypted ZIPs and can verify the vulnerabilities do not affect your threat model; consider alternatives if you need…
Thin Python wrapper around libdeflate for fast gzip, DEFLATE, and zlib compression/decompression, plus CRC32 and Adler-32 checksum computation.
Decompresses .Z files (Unix compress format) using pure Python, working cross-platform without compiled dependencies.
Provides a drop-in replacement for Python's standard library bz2 module with support for multi-stream bzip2 files and additional methods like peek(), read1(), and readinto().
Provides Django management commands to backup and restore project databases and media files to various storage backends (S3, Dropbox, local storage) with optional GPG encryption and compression.
Xpress9 is a Python wrapper for Microsoft's Xpress9 compression library, providing efficient compression and decompression of binary data through a C extension with Cython bindings.
However, the limited community adoption (5 stars, 257 days since last release) and aging status suggest it may not receive timely updates or bug fixes.
Generates zip archives as iterators of byte chunks, enabling streaming downloads without storing the entire archive in memory or on disk.
tzst creates and extracts tar archives compressed with Zstandard, offering a Python API and command-line interface for archive management with streaming support and atomic operations.
Provides fast random access to gzip-compressed files by building an index of seek points, allowing you to jump to any location in the uncompressed data without decompressing from the beginning.
Provides Python bindings to the liblzf compression library, exposing compress() and decompress() functions for fast, lightweight data compression.
xpress8 provides Python bindings to Microsoft's Xpress8 compression library, enabling compression and decompression of data using the algorithm used by Power BI's .pbix format and Windows internal data stores.
Provides command-line tools to create zip files with arbitrary root folder names and compression methods, bundling files and directories from different filesystem locations.
Provides fast compression and decompression of small data blocks using liblzf, a C library, through Python bindings with compress() and decompress() functions.
However, the aging maintenance status (232 days since last release, only 2 stars) and lack of active development signal suggest this is stable but not actively…