Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

ralphholzmann opened this Issue · 2 comments

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,



I agree, this would be nice but I don't think its possible given the underlying library I am wrapping, which is 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?


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
Something went wrong with that request. Please try again.