Create a streamable version of ZipFile
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Fri, 18 May 2018 13:57:04 +0000 (15:57 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Fri, 18 May 2018 13:57:04 +0000 (15:57 +0200)
commitc2bdf47bf40c5adcac69538b7ec9abb537b69e96
treee30f0be948abf16c32f77d1bbc90a5d70c7b8f1c
parent170db03fa1ec88974fa95f47ebff2381a4d7ee25
Create a streamable version of ZipFile

Python's ZipFile requires data in memory or on disc in order to compress it.
This module contains class ZipStream that extends ZipFile to allow read-only,
non-seekable streams as input.

For python < 3.5 this requires python-zipfile35; implementation is MUCH simpler
for python >= 3.6
src/zip_stream.py [new file with mode: 0644]