
python-libarchive
A SmartFile Open Source project. Read more about how SmartFile uses and contributes to Open Source software.
Fully functional Python wrapper for libarchive. Created using SWIG. The low-level API provides access to all of the functionality of libarchive.
The package also includes a high level python library which mimics the zipfile and tarfile modules.
Libarchive supports the following:
- Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images.
- Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
- Automatically handles archives compressed with gzip, bzip2, lzip, xz, lzma, or compress.
Get started by reading the Examples. Then move on to Building.
If you are interested in interfacing with archives using a file system type interface, take a look at pyFilesystem. This module provides a standard interface to many file systems implemented as part of the library. Using pyFilesystem, you can interact with WebDAV, archives, S3 or even regular file systems using a common API. There is a file system for pyFilesystem named ArchiveFS which utilizes python-libarchive.
Project Information
The project was created on Dec 13, 2011.
- License: New BSD License
- 3 stars
- svn-based source control