LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2012, 09:51 PM   #1
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
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.
 
Old 01-15-2012, 12:11 AM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to archive data to tape library Neruocomp Linux - Server 3 07-16-2010 07:55 AM
need a archive creator and management library linuxsavar Programming 6 06-24-2008 03:32 AM
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-04-2007 11:11 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration