libarchive

Posted 1 month, 2 weeks ago

Python adapter for universal, libarchive-based archive access. You can install it with a pip installer and get started with it. A ctypes-based adapter to libarchive. The source code is written to be clear and intuitive. Even 7-Zip is supported for both reading and writing.

Install it with:

pip install libarchive

The Ubuntu libarchive package maintainer only provides a “libarchive.so” symlink in the dev package so you’ll have to install the libarchive-dev package.

apt-get install libarchive-dev