{"categories":[{"label":"Compression","url":"https://skillfed.io/packages/category/system-archiving-compression"}],"enrichment":{"capability":"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.","skillfed_tags":["streaming","encryption","zip64"],"use_cases":["Generate downloadable ZIP files in web applications without buffering the entire archive to disk or memory.","Stream large Zip64 archives (>4 GiB) from a server to clients in real-time as data becomes available.","Create password-protected, AES-256-encrypted ZIP files on-demand for secure file distribution.","Build ZIP archives containing symbolic links and directory structures in resource-constrained environments.","Implement on-demand compression pipelines where source data is fetched incrementally and streamed directly into the ZIP."],"what_it_does":"stream-zip is a Python library for generating ZIP archives incrementally without buffering the entire file in memory or on disk. Instead of constructing a complete ZIP in advance, it yields compressed chunks as they are ready, making it ideal for web servers that need to start sending compressed data before all source files have been read. It supports both the legacy Zip32 format and the modern Zip64 format for files larger than 4 GiB, and can encrypt archives with AES-256 passwords following the WinZip AE-2 specification.\n\nThe library handles symbolic links, directories (including empty ones), file permissions, and extended timestamps. It depends only on pycryptodome for encryption operations and is designed for memory-constrained environments where traditional ZIP libraries would require staging the entire archive. The package is actively maintained, has no known vulnerabilities, and provides both synchronous and asynchronous (thread-based) interfaces.","worth_installing":"Yes. stream-zip is actively maintained, has no security vulnerabilities, low install friction (single pure-Python dependency), and solves a genuine problem for streaming ZIP generation in memory-constrained or real-time scenarios. The permissive MIT license poses no restrictions. Install it if you need to generate ZIPs on-the-fly in a web server or similar streaming context."},"id":"stream-zip","links":{"html":"https://skillfed.io/packages/stream-zip","md":"https://skillfed.io/packages/stream-zip.md","pypi":"https://pypi.org/project/stream-zip/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-04","license_spdx":null,"license_treatment":"permissive","name":"stream-zip","python_support":"supports_current","summary":"Python function to construct a ZIP archive with stream processing - without having to store the entire ZIP in memory or disk"},"popularity":{"monthly_downloads":604403,"position":5805,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.84"}
