Pyarchive is a python bindings for libarchive.
>>> import archive
>>> a = archive.Archive('test.tgz')
>>> for i in a:
... print(a.filename)
>>> print(a.read()) # read last file
- python 3.2 (sorry, need FS encoding conversion functions)
- libarchive
According to my tests libarchive 5-15 times faster that tarfile