python-archive
python-archive copied to clipboard
Python package providing a common interface for unpacking zip and tar achives.
.xz support needs to be added, at least if present in stdlib, however backports also exist (also with bz2).
Hi this pull-request contains two changes. Both are motivated by the need "package/bundle" the module with a different stand-alone tool (see waf build-system). Basically waf works by creating a self-extracting...
This would allow something like: ```python with archive.Archive('files.tgz') as files: files.extract() ``` On exit of the context manager the archive file could be closed instead of relying on `__del__()`.