The zipstream module

This is just a quick hack on James C. Ahlstrom's zipfile module (which is now included in the standard Python distribution), using stream IO instead of reading the entire decompressed file into memory and writing files direct from disc.

I needed this for dealing with excessively large files, and am making the module available though it is only a hack, not cleaned up or fully tested. You may nevertheless find it useful.

Usage: create a ZipFile object as with zipfile. When calling read(), you must pass a stream object (with write() support) as the third parameter instead of expecting the results in a string. When calling write(), pass a stream object (with read() support) instead of the filename parameter.

Latest [dogfood] version

Version 0.1: module.

and@doxdesk.com