smihica / pyminizip

To create a password encrypted zip file in python.
Other
106 stars 37 forks source link

provide function like ZipFile.open #29

Open skoehler opened 5 years ago

skoehler commented 5 years ago

It should be possible to add files to a ZIP archive without creating a temporary file first.

Using python's ordinary ZipFile API, you can create a ZIP archive and then call the open method to create and write to the a new file inside the ZIP file directly. The file will be compressed as it is written.