Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyunpack

How to install pyunpack

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pyunpack
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.0
0.0.3Never BuiltWhy not?
0.0.0 Available View build log
Windows (64-bit)
0.0.0
0.0.3Never BuiltWhy not?
0.0.0 Available View build log
Mac OS X (10.5+)
0.0.0
0.0.3Never BuiltWhy not?
0.0.0 Available View build log
Linux (32-bit)
0.0.2
0.0.3Never BuiltWhy not?
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
Linux (64-bit)
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
 
Author
License
BSD
Depended by
Lastest release
version 0.0.3 on Jan 9th, 2014

unpack archive files

Links:
Features:
  • unpack archive files without password

  • very simple interface

  • command line interface and library

  • supported python versions: 2.6, 2.7

  • tested only on linux

  • back-ends:
    • zipfile: included in Python
    • patool: It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives). Supported formats: 7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)

Background

patool is called by pyunpack using its command line interface. If Patool is not installed then only zip format can be unpacked using the internal python zipfile library.

Basic usage
>>> from pyunpack import Archive
>>> Archive('a.zip').extractall('/path/to')

or on console:

python -m pyunpack.cli a.zip /path/to
Similar projects
Installation

General

  • install pip

  • install unpackers for patool (optional)

  • install patool (optional)

  • install the program:

    # as root
    pip install pyunpack
    

Ubuntu

sudo apt-get install python-pip
sudo pip install pyunpack
#optional
sudo pip install http://downloads.sourceforge.net/project/patool/0.17/patool-0.17.tar.gz
sudo pip install entrypoint2 # for cli.py
sudo apt-get install unzip unrar p7zip-full

Uninstall

# as root
pip uninstall pyunpack

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.