LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   python: archive abstraction library? (https://www.linuxquestions.org/questions/programming-9/python-archive-abstraction-library-923829/)

hydraMax 01-14-2012 09:51 PM

python: archive abstraction library?
 
I was thinking about giving Python a try for a small project idea I had, but I had a question: does Python have an archive abstraction module, i.e., something like libarchive in C, which can handle any of the common archive formats (tar, zip, cpio) in any of the common compression formats (gz, bzip2, and any others that I forgot...)? I did some quick googling and saw various modules for individual formats, but not an abstraction module covering all of them. I would only be necessary to read the archives and extract files from them (no archive creation) if that makes a difference.

ta0kira 01-15-2012 12:11 AM

This project looks fairly new:
http://code.google.com/p/python-libarchive/

Python extensions are very easy (but sometimes tedious) to implement, so the project would be easy to contribute to if you know C and libarchive.
Kevin Barry


All times are GMT -5. The time now is 09:29 AM.