Feature request: Ability to open buffers as zip files #10

ralphholzmann opened this Issue Apr 1, 2011 · 2 comments


None yet
2 participants


I'm writing an application that parses raw email data and attachments. I'd like to use your library to manipulate zip file attachments, if they exist. After parsing, I have an array of attachment buffers (with some properties). It would be nice if you could add the feature to pass an existing buffer to new zipfile.ZipFile(). This way I wont have to do the round about solution of writing the zip buffer to disk, only to reopen it with zipfile.

Thank you,



springmeyer commented Apr 1, 2011

I agree, this would be nice but I don't think its possible given the underlying library I am wrapping, which is libzip: http://www.nih.at/libzip/. A quick pass through the libzip code does not indicate support for anything but file based access to zip archives. Might be worth checking with the libzip guys if they have any ideas - you up for that?


springmeyer commented Aug 10, 2013

closing. not seeing this as actionable - even though it is desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment