Python function to construct a ZIP archive with stream processing - without having to store the entire ZIP in memory or disk
Project description
stream-zip
Python function to construct a ZIP archive on the fly - without having to store the entire ZIP in memory or disk. This is useful in memory-constrained environments, or when you would like to start returning compressed data before you've even retrieved all the uncompressed data. Generating ZIPs on-demand in a web server is a typical use case for stream-zip.
Offers similar functionality to zipfly, but with a different API, and does not use Python's zipfile module under the hood. Creates both Zip32/2.0/Legacy and Zip64 files.
To unZIP files on the fly try stream-unzip.
Visit the stream-zip documentation for usage instructions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stream_zip-0.0.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 654e5da6f4a320cb3bbc562039e6d35f71867fe09fbd7413d29649543da93f3f |
|
MD5 | d3b59c308a5d24fa3e842c6232a7cf47 |
|
BLAKE2b-256 | 2c4fb845b2baff736df0f7a11b6f42a7a36bfa5a3287fdd27df876ad33f48c70 |