Skip to main content

unpack archives

Project description

unpack archive files

Links:
Features:
  • backends:
    • patool: optional, can handle a lot of formats using different programs

    • zipfile: included in Python

  • command line interface

Known problems:
  • Python 3 is not supported

  • tested only on linux

Basic usage

>>> from pyunpack import Archive
>>> Archive('a.zip').extractall('.')

or on console:

python -m pyunpack.cli a.zip .

Similar projects

Installation

General

  • install setuptools

  • install unpackers for patool (optional)

  • install patool (optional, easy_install does not work)

  • install the program:

    # as root
    easy_install pyunpack

Ubuntu

sudo apt-get install python-setuptools
sudo easy_install pyunpack
#optional
sudo easy_install http://sourceforge.net/projects/patool/files/0.13/patool-0.13.tar.gz/download
sudo apt-get install unzip unrar p7zip-full

Uninstall

first install pip:

# as root
pip uninstall pyunpack

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyunpack-0.0.0.tar.gz (29.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page