Cython-based python bindings for libarchive
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with tailhook:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archive
.gitignore
MANIFEST.in
README.rst
TODO.rst
setup.py
test.py
test.tgz

README.rst

Pyarchive

Pyarchive is a python bindings for libarchive.

Usage

>>> import archive
>>> a = archive.Archive('test.tgz')
>>> for i in a:
...   print(a.filename)
>>> print(a.read())  # read last file

Dependencies

  • python 3.2 (sorry, need FS encoding conversion functions)
  • libarchive

Performance

According to my tests libarchive 5-15 times faster that tarfile