4 ms·
Sounds like you need this... a previous submission as linked elsewhere mentioned https://github.com/longaccess/python-zipstream/tree/streaminput https://github.
by password4321 5y ago
Sounds like you need this... a previous submission as linked elsewhere mentioned https://github.com/longaccess/python-zipstream/tree/streaminput https://github.com/longaccess/python-zipstream/tree/streamin... which should do it.
Edit: Dang it, GPLv3, sorry (vs Apache 2 of your project).
The two previous discussions with comments may offer enough to get you what you need: https://news.ycombinator.com/item?id=23198233 https://news.ycombinator.com/item?id=23198233 https://news.ycombinator.com/item?id=25616513 https://news.ycombinator.com/item?id=25616513
Edit 2: https://github.com/kbbdy/zipstream https://github.com/kbbdy/zipstream, no license (yet)
- d136o 5y agoInteresting, for the read (decompression) case I wrote this a while back: https://github.com/d136o/StreamingUnzip https://github.com/d136o/StreamingUnzip Basically, if you have a big zip file with many files in it (csvs for example), you can pipe out the decompressed data… It’s a bit obtuse to use since it calls for the end chunk of a zip archive (it may come from s3 for example).