Page 1 of 1

ZIP

Posted: Fri Mar 09, 2018 4:26 am
by Starkkz
Hello, I made a zip writing/reading library. It's MIT licensed.

The code repository is here.
https://github.com/matiasah/zip

The wiki.
https://github.com/matiasah/zip/wiki

Issues.
https://github.com/matiasah/zip/issues

I tried to make it the easiest possible to use, I appreciate your feedback.

Re: ZIP

Posted: Fri Mar 09, 2018 9:39 am
by raidho36
Uh... why? You can just mount any zip archive as a folder using filesystem module functionality.

Re: ZIP

Posted: Fri Mar 09, 2018 9:52 am
by grump
This one supports writing zips though.

Re: ZIP

Posted: Fri Mar 09, 2018 11:45 am
by zorg
love.math.compress supports lz4, zlib and gzip as compression types; the latter two use DEFLATE, which is what zip uses; note that i haven't tried it myself, but it might just output a format that can be handled as a zip; writing that out would be easy.

That said, if anything, just not having to rely on an external lib by using the above function would still be a boon in my opinion, even if all other parts of code you wrote would still be necessary, making this a neat wrapper lib on love.math.de/compress (which will be in love.data, come 0.11, which will also have crc checksum functionality)

Re: ZIP

Posted: Fri Mar 09, 2018 1:47 pm
by Starkkz
Yeah, I'm expecting to use native functionalities once 0.11 is out. I even requested deflate so that I could use it for this.

Re: ZIP

Posted: Sat Mar 10, 2018 1:41 pm
by Ulydev
I think it's still cool that you made this! Shows that you can do it, and it definitely has to be a good programming experience :-)