[Python-ideas] Adding ziplib

Nick Coghlan ncoghlan at gmail.com
Thu Feb 19 11:58:29 CET 2015


On 18 February 2015 at 07:17, Gregory P. Smith <greg at krypto.org> wrote:
> coming up with common API for these with the key features needed by all is
> interesting, doubly so for someone pedantic enough to get an implementation
> of each correct, but it should be done as a third party library and should
> ideally not use the stdlib zip or tar support at all. Do such libraries
> exist for other languages? Any C++ that could be reused? Is there such a
> thing as high quality code for this kind of task?

It's also worth remembering there's an existing higher level
procedural API in shutil for the cases where all you need is archive
creation and unpacking:
https://docs.python.org/3/library/shutil.html#archiving-operations

It doesn't help if you need to access or manipulate the internals of
an existing archive, though.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-ideas mailing list