A modern and easy to use streamable zip file generator

Edit Package python-zipstream-ng
https://github.com/pR0Ps/zipstream-ng

A modern and easy to use streamable zip file generator. It can package and stream many files and folders into a zip on the fly without needing temporary files or excessive memory. It can also calculate the final size of the zip file before streaming it.
Features:

* Generates zip data on the fly as it's requested.
* Can calculate the total size of the resulting zip file before generation even begins.
* Low memory usage: Since the zip is generated as it's requested, very little has to be kept in memory (peak usage of less than 20MB is typical, even for TBs of files).
* Flexible API: Typical use cases are simple, complicated ones are possible.
* Supports zipping data from files, bytes, strings, and any other iterable objects.
* Keeps track of the date of the most recently modified file added to the zip file.
* Threadsafe: Won't mangle data if multiple threads concurrently add data to the same stream.
* Includes a clone of Python's http.server module with zip support added. Try python -m zipstream.server.
* Automatically uses Zip64 extensions, but only if they are required.
* No external dependencies.

Refresh
Refresh
Source Files
Filename Size Changed
python-zipstream-ng.changes 0000000463 463 Bytes
python-zipstream-ng.spec 0000003076 3 KB
zipstream-ng-1.7.1.tar.gz 0000035488 34.7 KB
Revision 1 (latest revision is 2)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1171303 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 1)
Needed by python-magic-wormhole
Comments 0
openSUSE Build Service is sponsored by