{"categories":[{"label":"Compression","url":"https://skillfed.io/packages/category/system-archiving-compression"}],"enrichment":{"capability":"Streams unzip operations on ZIP archives without loading entire files into memory, supporting Deflate, Deflate64, Zip64, AES encryption, ZipCrypto, and BZip2 compression.","skillfed_tags":["streaming-io","encryption","async-support"],"use_cases":["Extract large ZIP archives in web services without buffering the entire file to disk or memory.","Process password-protected or AES-encrypted ZIPs in data pipelines where the standard library cannot open them.","Stream unzip operations in async applications using asyncio or trio without blocking.","Handle Deflate64-compressed ZIPs created by Windows Explorer when standard zipfile fails.","Decrypt legacy ZipCrypto-protected archives with better performance than Python's zipfile module."],"what_it_does":"stream-unzip is a Python library that extracts ZIP archives by streaming their contents without holding the entire archive or any uncompressed file in memory at once. It handles modern and legacy ZIP formats including Deflate, Deflate64, Zip64 (files far beyond the approximate 4GiB limit), WinZip AES encryption, ZipCrypto password protection, and BZip2 compression\u2014formats that Python's standard zipfile module cannot always open. The library depends on pycryptodome for encryption and stream-inflate for decompression.\n\nThe package is designed for scenarios where ZIP files are too large to fit in memory or where you need to process files as they are extracted. It offers both synchronous and asynchronous interfaces (supporting asyncio and trio), making it suitable for streaming workflows in web services, data pipelines, and batch processing. Decryption of legacy ZipCrypto files is reported to be significantly faster than the standard library alternative.","worth_installing":"Yes. stream-unzip fills a genuine gap in Python's standard library by supporting encryption formats and compression methods the zipfile module cannot handle, while offering memory-efficient streaming for large archives. Active maintenance, no known vulnerabilities, permissive MIT license, and top-5000 PyPI popularity indicate a stable, trusted tool. Medium install friction is acceptable given the prebuilt wheels and lightweight runtime dependencies."},"id":"stream-unzip","links":{"html":"https://skillfed.io/packages/stream-unzip","md":"https://skillfed.io/packages/stream-unzip.md","pypi":"https://pypi.org/project/stream-unzip/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-03","license_spdx":null,"license_treatment":"permissive","name":"stream-unzip","python_support":"supports_current","summary":"Python function to stream unzip all the files in a ZIP archive, without loading the entire ZIP file into memory or any of its uncompressed files"},"popularity":{"monthly_downloads":876464,"position":4831,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.0.101"}
