mitsuhiko

unp: Unpack Archives from the Command Line

unp is a Python command-line tool that chooses among available shell unpackers to extract archives. It can place multi-item archives in a folder to help keep your working directory tidy, and supports several common archive formats.

View on GitHub Compare
Stars
455
Forks
54
Stars, last 30 days
+1
Last commit
9.4 years ago
Contributors
2

Our take

Inactiveno commits in over a year

Health score

20/100

How it is scored
Activity
19
Community
21
Issues
21
Pull requests
20

+1 stars in the last 30 days

  • Fewer contributors than 86% of the projects we track

unp is a focused convenience tool, but its long inactivity and reliance on one primary contributor make it a project to adopt cautiously.

Good fit if

  • You want one Python command to dispatch to installed shell unpackers for common archive formats.
  • The folder-wrapping behavior for multi-item archives is useful in your workflow.
  • You can work with a tool that has had no commits in over a year and has no recent releases.

Look elsewhere if

  • You need active maintenance or recent issue and pull-request handling, which the project has not shown recently.
  • You need a project with broader contributor ownership, since most of the code comes from one person.
  • Your required archive format or operating system behavior is not among the formats and platform support described by the project.
All health signals
Last commit2017-05-17 (9.4 years ago)
Commits, last 90 days0
Releases, last 12 months0
Contributors2 (top contributor: 87% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age12 years

Checked on 2026-10-15 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

456

Forks

54

Change since Nov 18, 2026: 0 stars·0 forks

Overview

unp is a Python command-line tool that wraps other shell tools on POSIX systems to unpack archives. Give it an archive and it determines which unpacker to invoke, rather than requiring you to remember a different command for each format.

When an archive contains multiple top-level items, unp places the extracted contents in a folder to avoid scattering files through the current working directory. It supports a range of formats, with DMG extraction limited to OS X, where it uses hdiutil.

Key Features

  • Selects an unpacking tool based on the archive format.
  • Supports 7z, AR, RAR, CAB, ZIP, and Apple disk-image files, among other formats.
  • Handles compressed files and tarballs using Bz2, gzip, and XZ.
  • Wraps multi-item archive contents in a folder to keep the working directory organized.
  • Extracts DMG contents on OS X using hdiutil.
  • Provides a single command for unpacking supported archive types.

Use Cases

  • Developers who regularly download source archives can unpack different formats with one command.
  • Users working with archives containing several top-level files can avoid cluttering their current directory.
  • POSIX command-line users who already have the relevant unpacking utilities can use unp as a format-detection wrapper.
  • OS X users can use it to copy contents out of supported DMG images.

What you need

Detected in the repository

  • Python (from setup.py)

Getting Started

Install with pipsi and unpack an archive:

pipsi install unp
unp myarchive.tar.gz

See the README for the supported formats and platform details.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Considerations

unp delegates extraction to other shell tools, so the required unpackers need to be available in the environment. Its README describes DMG support only on OS X. The project has no recent commits, releases, CI, or tests indicated in the supplied project data, so teams should assess compatibility and maintenance needs before relying on it.

Found this useful?

Share it with someone who would like unp.