ZIP

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Starkkz
Prole
Posts: 18
Joined: Thu Jul 16, 2015 7:24 pm

ZIP

Post by Starkkz » Fri Mar 09, 2018 4:26 am

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.

User avatar
raidho36
Party member
Posts: 1685
Joined: Mon Jun 17, 2013 12:00 pm

Re: ZIP

Post by raidho36 » Fri Mar 09, 2018 9:39 am

Uh... why? You can just mount any zip archive as a folder using filesystem module functionality.

grump
Party member
Posts: 388
Joined: Sat Jul 22, 2017 7:43 pm

Re: ZIP

Post by grump » Fri Mar 09, 2018 9:52 am

This one supports writing zips though.

User avatar
zorg
Party member
Posts: 2378
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: ZIP

Post by zorg » Fri Mar 09, 2018 11:45 am

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)
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.

Starkkz
Prole
Posts: 18
Joined: Thu Jul 16, 2015 7:24 pm

Re: ZIP

Post by Starkkz » Fri Mar 09, 2018 1:47 pm

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.

User avatar
Ulydev
Party member
Posts: 428
Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:

Re: ZIP

Post by Ulydev » Sat Mar 10, 2018 1:41 pm

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 :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests