skillfed

zipfile-deflate64

Extract Deflate64 ZIP archives with Python's zipfile API.

zipfile-deflate64 v0.2.0 1.1M downloads/30d#4,342 on PyPI22
Permissive license Apache 2.0 DORMANT released

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-deflate64

uv

uv add zipfile-deflate64

poetry

poetry add zipfile-deflate64

Installing 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

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: ArchivingTopic :: System :: Archiving :: Compression

Tags

deflate64 zip extractionwindows zip deflate64 supportlarge zip file decompressionzipfile deflate64 pythonextract deflate64 archiveszip compression format support
zip-compressionwindows-compatibility

More Archiving packages