Stream.zip
uktrade/stream-zip: Python function to construct a ZIP archive on the fly
: Can include symbolic links and both empty and non-empty directories within the archive.
: Supports password-protected and AES-256 encrypted ZIP files following the WinZip AE-2 specification. stream.zip
The library (a Python tool available on PyPI ) provides the feature of constructing ZIP archives on the fly without needing to store the entire file in memory or on a disk . Key features of stream-zip include:
: Provides an asynchronous interface that utilizes threads to manage streaming tasks efficiently. Key features of stream-zip include: : Provides an
: It can construct files that exceed the standard 4GiB limit, allowing for sizes up to 16 EiB.
: It is designed for web servers to start returning compressed data before all uncompressed data has even been retrieved. : Allows for specifying file permissions and stores
: Allows for specifying file permissions and stores high-accuracy modification times using extended timestamps .