n0phx / zippie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zippie

A zip archive handler tool, attempting to achieve API compatibility with Pythons own zipfile module.

python setup.py install

>>> import zippie
>>> zf = zippie.PieZipFile("/path/to/file.zip")

Done

  • [DONE] scopedstreambuf that limits the available scope to the underlying filestream being used
  • [DONE] read central directory with zip64 support
  • [DONE] read local file headers with support for data descriptor records
  • [DONE] seek within zip archive members (that one pythons version doesn't have, but with encryption and/or compression, it will get tricky and undefined atm)
  • [DONE] api to perform extraction of zip members
  • [DONE] streambuf that performs crc32 calculation while reading

In Progress

  • [IN PROGRESS] streambuf that performs decryption while reading
  • [IN PROGRESS] expose all header fields through the memberinfo api

TODO

  • [TODO] write / create zipfiles
  • [TODO] implement compression support using zlib...maybe

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 94.8%Language:C 2.8%Language:Python 1.6%Language:Makefile 0.9%