zipfile-deflate64
Extract Deflate64 ZIP archives with Python's zipfile API.
What it is and what it does
zipfile-deflate64 solves a specific compatibility problem: recent versions of Windows Explorer use Deflate64 compression for ZIP files larger than 2GB, but Python's standard zipfile module does not support this format. The package wraps the infback9 Deflate64 decompression library (from zlib) and monkey-patches Python's zipfile module to recognize and decompress Deflate64-compressed entries transparently.
When imported, the package modifies the standard zipfile module in-place, so any subsequent calls to zipfile.ZipFile() automatically gain Deflate64 support. It re-exports the entire zipfile API for convenience, allowing you to use it as a drop-in replacement. The package has no runtime dependencies and is distributed as precompiled wheels for common platforms and Python versions.
Use it for:
- Extract large ZIP files created by Windows Explorer's native compression feature without external tools.
- Process ZIP archives from Windows systems in a Python application that previously failed on Deflate64 entries.
- Automate handling of mixed-compression ZIP files where some entries use standard Deflate and others use Deflate64.
- Replace manual workarounds (e.g., calling 7-Zip or p7zip CLI tools) with a native Python solution.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
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.
Yes, if you need to extract Deflate64 ZIP files in Python and have no other decompression tool available. The package is straightforward to use and has no runtime dependencies. 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 version before relying on it in production.
Install
zipfile-deflate64 on PyPI
pip
pip install zipfile-deflate64uv
uv add zipfile-deflate64poetry
poetry add zipfile-deflate64Installing zipfile-deflate64
Before you install
Medium install friction due to compiled wheels; the package is dormant (last release January 2022, no commits since December 2023) but has prebuilt wheels for Python 3.6–3.10 on macOS, Linux, and Windows, reducing runtime compilation risk.
License in practice
Apache 2.0 is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install zipfile-deflate64
import zipfile_deflate64
# Now standard zipfile.ZipFile() can extract Deflate64 archives
import zipfile
with zipfile.ZipFile('archive.zip') as z:
z.extractall()
Requires Python 3.6 or later; the package monkey-patches the standard zipfile module on import, so it must be imported before zipfile operations.
Verify before relying
- Whether the package works correctly with Python versions beyond 3.10 (fact sheet lists support only through 3.10).
- Current maintenance status and likelihood of updates for newer Python releases or security issues.
- Performance characteristics when extracting very large Deflate64 archives.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,682 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,119,071/month — #4,342 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zipfile_deflate64-0.2.0-cp310-cp310-macosx_10_14_x86_64.whl; zipfile_deflate64-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; zipfile_deflate64-0.2.0-cp310-cp310-win_amd64.whl; zipfile_deflate64-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl; zipfile_deflate64-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; zipfile_deflate64-0.2.0-cp36-cp36m-win_amd64.whl; zipfile_deflate64-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl; zipfile_deflate64-0.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; zipfile_deflate64-0.2.0-cp37-cp37m-win_amd64.whl; zipfile_deflate64-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl; zipfile_deflate64-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; zipfile_deflate64-0.2.0-cp38-cp38-win_amd64.whl; zipfile_deflate64-0.2.0-cp39-cp39-macosx_10_14_x86_64.whl; zipfile_deflate64-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; zipfile_deflate64-0.2.0-cp39-cp39-win_amd64.whl
Keywords: zip, zipfile, deflate, deflate64
Tags
More Archiving packages
Provides Python bindings to the Brotli…
permissive · top 1,000 on PyPI
s3cmds3cmd is a command-line tool for uploading,…
copyleft · top 5,000 on PyPI
zipfile-zstdExtends Python's standard zipfile module to…
permissive · top 5,000 on PyPI
unix-arReads and writes AR archive files (Unix static…
permissive · top 5,000 on PyPI
handy-archivesProvides utility functions for working with…
permissive · top 15,000 on PyPI
mda-xdrlibProvides the xdrlib module for encoding and…
permissive · top 15,000 on PyPI
inflate64Provides Deflater and Inflater classes to…
copyleft · top 5,000 on PyPI
pyminizipCreates password-encrypted ZIP files that can…
permissive · top 15,000 on PyPI
stream-unzipStreams unzip operations on ZIP archives…
permissive · top 5,000 on PyPI
pyzipperpyzipper replaces Python's standard zipfile…
permissive · top 5,000 on PyPI
zipfile36Provides a backport of Python 3.6's zipfile…
permissive · top 5,000 on PyPI
zlib-stateProvides low-level access to zlib decompression…
permissive · top 15,000 on PyPI
binapyBinaPy wraps Python's binary-handling libraries…
permissive · top 5,000 on PyPI
rarfileReads RAR archive files (RAR3 and RAR5 formats)…
permissive · top 5,000 on PyPI
stream-inflateDecompresses DEFLATE and DEFLATE64 streams in…
permissive · top 5,000 on PyPI