$npx skillfedfor your agent

extractcode

A mostly universal archive extractor using 7zip, libarchive and the Python standard library for reliable archive extraction.

Worth itPyPI Software DevelopmentReleased May 2026123.9K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — extractcode-31.1.0-py3-none-any.whl
v31.1.0 · released 2026-05-18 · Python >=3.10 · 4 runtime deps: attrs, commoncode, plugincode, typecode

Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—extracting archives that fail with standard tools. The Apache-2.0 license is permissive. Install it if you need robust, cross-platform archive extraction with fallback strategies for edge cases; skip it if you only handle simple, well-formed archives with standard tools.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10.
  • The `[full]` extra installs bundled 7zip and libarchive; without it, you must provide libarchive 3.5.x and 7zip 16.5.x via system PATH, environment variables (EXTRACTCODE_LIBARCHIVE_PATH, EXTRACTCODE_7Z_PATH), or plugins.
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is permissive and imposes no restrictions on use or redistribution in closed-source projects. You may use this package freely in commercial or proprietary work.

last release 2026-05-18 (88 days) · last repo commit 2026-05-18 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,883 downloads/mo, #11,892 on PyPI

Verify before relying

pip install extractcode[full]

from extractcode import extract

extract.extract('/path/to/archive.tar.gz', '/output/directory')
  • Whether the package's recursive archive-in-archives extraction works with all supported formats or has known limitations.
  • Performance characteristics when extracting very large archives or deeply nested structures.
  • Exact behavior of file renaming and permission changes during extraction in edge cases.
Same gist for agents: .md · .json

What it is and what it does

ExtractCode is a universal archive extractor that handles a large number of formats—including tar, zip, 7z, rpm, deb, iso, vmdk, qcow2, and compressed variants—with built-in resilience for edge cases that cause other extractors to fail. It uses a voting system based on file extension, mimetype, and content to select the best extraction method, and can recursively extract nested archives. Behind the scenes it combines the Python standard library, a ctypes binding to libarchive, and the 7zip command-line tool to achieve broad format support.

The package is designed primarily for software composition analysis and forensic file inspection rather than preserving exact filesystem semantics. It will auto-rename files with invalid names on certain filesystems, handle multiple copies of the same path in a tar archive, extract from damaged archives when possible, fix permission issues, and skip special files and symlinks. On Linux, it can also extract VM images via libguestfs. Installation can be minimal (relying on system tools) or full (bundling binaries), and configuration is done via environment variables or plugins.

Use it for

  • Extract Linux kernel tarballs on Windows without path case-sensitivity or collision errors.
  • Recover files from partially damaged or corrupted archives when standard tools fail.
  • Recursively extract nested archives (tar.gz inside zip inside tar) in a single operation.
  • Analyze software packages (rpm, deb, iso) as part of a supply-chain or forensic workflow.
  • Extract VM disk images (vmdk, qcow2, vhd) on Linux with libguestfs support.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—extracting archives that fail with standard tools. The Apache-2.0 license is permissive. Install it if you need robust, cross-platform archive extraction with fallback strategies for edge cases; skip it if you only handle simple, well-formed archives with standard tools.

Install

extractcode on PyPI

Before you install

Low friction install with a pure-Python wheel. Marked as active with recent commits. The package offers two installation modes: `pip install extractcode[full]` bundles 7zip and libarchive binaries; `pip install extractcode` expects system-provided tools or plugin-supplied paths via environment variables.

Requires Python >=3.10. The `[full]` extra installs bundled 7zip and libarchive; without it, you must provide libarchive 3.5.x and 7zip 16.5.x via system PATH, environment variables (EXTRACTCODE_LIBARCHIVE_PATH, EXTRACTCODE_7Z_PATH), or plugins.

License in practice

Apache-2.0 is permissive and imposes no restrictions on use or redistribution in closed-source projects. You may use this package freely in commercial or proprietary work.

Quickstart

pip install extractcode[full]

from extractcode import extract

extract.extract('/path/to/archive.tar.gz', '/output/directory')

Verify before relying

  • Whether the package's recursive archive-in-archives extraction works with all supported formats or has known limitations.
  • Performance characteristics when extracting very large archives or deeply nested structures.
  • Exact behavior of file renaming and permission changes during extraction in edge cases.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
attrscommoncodeplugincodetypecode
MaintenanceActively maintained 88 days since the last release
Last repo commit
First released
Downloads123,883 / month, #11,892 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software DevelopmentTopic :: Utilities

Evidence: extractcode-31.1.0-py3-none-any.whl

Tags

Capabilities
archive extraction libraryuniversal archive extractorextract tar zip 7zlibarchive python wrapperhandle damaged archivesrecursive archive extractioncross-platform file extraction
Topics
archive-extractionforensicscross-platform
PyPI keywords
utilitiesarchiveextractionlibarchive7zip7zgzipbzip2xzlzmalz4lzipzstdZtarxararcpiovmdkqcow2vhdisodebcabrpmpatchscancode-toolkit

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “universal archive extractor”

  • extractcodeExtracts a wide range of archive formats (tar, zip, 7z, rpm, deb,…
  • pyinstxtractor-ngExtracts Python bytecode and resources from PyInstaller-generated…
  • ubai-clientubai-client is a Python client for the Universal Binary Archiver…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also commoncode · extractcode-7z · fastdownload · libarchive-c · maco-extractor · pyunpack · extractcode-libarchive · ar · patool · conda-package-handling