Jul 20, 2023


unpack archive files in Python


  • unpack archive files
  • support passwords
  • very simple interface
  • command line interface and library


  • 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

Checkout these related ports:
  • Zutils - Utilities for searching in bzip2, gzip, lzip, and xz archives
  • Zstr - C++ header-only ZLib wrapper
  • Zstd - Fast real-time compression algorithm
  • Zpaqfranz - Swiss army knife for the serious backup manager
  • Zopfli - Zopfli Compression Algorithm
  • Zoo - Manipulate archives of files in compressed form
  • Zlib-ng - Fork of the zlib data compression library
  • Zipper - Tool for inspecting the contents of a compressed archive
  • Zipmix - Produce .ZIP file from two other ones with the best compressed files
  • Zip - Create/update ZIP files compatible with PKZIP
  • Zchunk - Compressed file format that splits the file into independent chunks
  • Xpk - The eXternal PacKer (XPK) library system
  • Xmill - Efficient compressor for XML
  • Xdms - Tool for decompressing Amiga DMS files
  • Xarchiver - Desktop-agnostic GTK frontend to various archiving tools