forked from gdub/python-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Python package providing a common interface for unpacking zip and tar achives.
License
t2y/python-archive
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
============== python-archive ============== This package provides a simple, pure-Python interface for handling various archive file formats. Currently, archive extraction is the only supported action. Supported file formats include: * Zip formats and equivalents: ``.zip``, ``.egg``, ``.jar``. * Tar and compressed tar formats: ``.tar``, ``.tar.gz``, ``.tgz``, ``.tar.bz2``, ``.tz2``. Example usage ============= Using the ``Archive`` class:: from archive import Archive a = Archive('files.tar.gz') a.extract() Using the ``extract`` convenience function:: from archive import extract # Extract in current directory. extract('files.tar.gz') # Extract in directory 'unpack_dir'. extract('files.tar.gz', 'unpack_dir') Similar tools ============= * http://pypi.python.org/pypi/patool/ - portable command line archive file manager. * http://pypi.python.org/pypi/gocept.download/ - zc.buildout recipe for downloading and extracting an archive.
About
Python package providing a common interface for unpacking zip and tar achives.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%