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.
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.