tailhook / pyarchive

Cython-based python bindings for libarchive

Home Page:http://github.com/tailhook/pyarchive

Repository from Github https://github.comtailhook/pyarchiveRepository from Github https://github.comtailhook/pyarchive

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

About

Cython-based python bindings for libarchive

http://github.com/tailhook/pyarchive


Languages

Language:C 98.8%Language:Python 1.2%