skillfed

extractcode-7z

A ScanCode path provider plugin to provide a prebuilt native sevenzip binary.

extractcode-7z v16.5.210531 124.9K downloads/30d#11,850 on PyPI2
Copyleft license apache-2.0 AND lgpl-2.1 and unrar and brian-gladman-3-clause Active released

What it is and what it does

extractcode-7z is a plugin for the ScanCode toolkit that bundles a prebuilt native 7z binary. It enables ScanCode to extract and analyze 7z archives as part of its code scanning workflow. The package is part of the ScanCode plugins ecosystem, which provides both builtin and optional extraction capabilities.

The plugin ships as platform-specific wheels for macOS, Linux, and Windows, containing compiled binaries rather than Python code. It has no Python runtime dependencies and integrates directly into ScanCode's plugin architecture. The last release was in May 2021, but the underlying repository remains actively maintained.

Use it for:

  • Enable ScanCode to extract and scan code within 7z-compressed archives during automated code analysis
  • Support multi-platform deployments of ScanCode by providing prebuilt 7z extraction on macOS, Linux, and Windows
  • Integrate 7z extraction into open-source compliance and security scanning workflows that use ScanCode

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a prebuilt native 7z binary as a ScanCode plugin for extracting 7z archives within the ScanCode toolkit.

Yes, if you use ScanCode and need to scan 7z archives. Install it as a ScanCode plugin dependency. The package is stable (Production/Stable status), has no known vulnerabilities, and is actively maintained. Medium install friction is typical for binary plugins. Verify Python version compatibility with your ScanCode installation before deploying.

Install

extractcode-7z on PyPI

pip

pip install extractcode-7z

uv

uv add extractcode-7z

poetry

poetry add extractcode-7z

Installing extractcode-7z

Before you install

Medium install friction due to platform-specific wheels (macOS, Linux, Windows). Last release was in 2021, but the repository remains active with recent commits as of July 2026, suggesting ongoing maintenance of the plugin ecosystem.

License in practice

Licensed under multiple terms: Apache 2.0, LGPL 2.1, unrar, and Brian Gladman 3-clause. The copyleft treatment means you must comply with LGPL 2.1 obligations if you redistribute or modify the package; review the specific license terms for your use case.

Quickstart

# Install as a ScanCode plugin dependency
pip install extractcode-7z

# Use within ScanCode toolkit (not directly imported)
# ScanCode automatically discovers and uses the 7z extraction plugin

Requires ScanCode toolkit to be installed and configured; this is a plugin, not a standalone library. Platform-specific wheel must match your OS and architecture.

Verify before relying

  • Whether this plugin is required as a dependency of scancode-toolkit or installed separately by users
  • Current compatibility with modern Python versions (python_support unspecified in metadata)

Package facts

License apache-2.0 AND lgpl-2.1 and unrar and brian-gladman-3-clause (copyleft)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 1,901 days since the last release
Last repo commit
First released
Downloads 124,877/month — #11,850 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: extractcode_7z-16.5.210531-py3-none-macosx_10_14_x86_64.whl; extractcode_7z-16.5.210531-py3-none-manylinux1_x86_64.whl; extractcode_7z-16.5.210531-py3-none-win_amd64.whl

Keywords: open source, extractcode, libarchive

Development Status :: 5 - Production/StableIntended Audience :: DevelopersTopic :: Utilities

Tags

7z extraction pluginscancode 7z supportprebuilt 7z binaryarchive extraction pluginscancode plugin provider
scancode-pluginarchive-extractionprebuilt-binary

More Utilities packages