sandes/zipfly

Using bytes instead of actual files

Closed this issue · 3 comments

Hi, thanks for the great work.
I have some bytes generators and I want to make a zip on the fly out of them. Is there an option to do this? Sorry for my poor python knowledge.
Thanks :)

Or even filelike objects.

It is not possible, but zipfile, which is the standard Python library that is used by zipfly, allows that.
You can use https://github.com/uktrade/stream-zip otherwise.

Thank you!