extractcode-7z
A ScanCode path provider plugin to provide a prebuilt native sevenzip binary.
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-7zuv
uv add extractcode-7zpoetry
poetry add extractcode-7zInstalling 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
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
extractcodeExtracts a wide range of archive formats (tar,…
permissive · top 15,000 on PyPI
extractcode-libarchiveProvides a prebuilt native libarchive binary as…
permissive · top 15,000 on PyPI
typecode-libmagicProvides a prebuilt native libmagic binary and…
copyleft · top 15,000 on PyPI
plugincodePlugincode provides a plugin system for Python…
permissive · top 15,000 on PyPI
scancode-toolkitScanCode Toolkit detects licenses, copyrights,…
permissive · top 15,000 on PyPI
typecodeDetects file types and MIME types using…
permissive · top 15,000 on PyPI
libarchive-clibarchive-c provides a Python interface to…
permissive · top 15,000 on PyPI
pyunpackUnpacks archive files in Python with support…
permissive · top 15,000 on PyPI
py7zrpy7zr is a pure-Python library for reading,…
copyleft · top 5,000 on PyPI
rarfileReads RAR archive files (RAR3 and RAR5 formats)…
permissive · top 5,000 on PyPI