cabarchive
A pure-python library for creating and extracting cab files
Decision gist · record as of 2026-08-14
Yes, if you need pure-Python CAB file handling without external dependencies. The library is stable, has no runtime dependencies, and carries no known vulnerabilities. The aging maintenance status and Beta classification mean it is not under active development, but it is suitable for straightforward extraction and creation tasks. Review LGPL-2.1-or-later copyleft obligations if integrating into proprietary software.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance is aging—last release was 185 days ago, though the repository remains active with a recent commit on 2026-02-10.
- Suitable for stable, maintenance-light use cases.
License · maintenance · safety
LGPL-2.1-or-later (copyleft) — Licensed under LGPL-2.1-or-later (copyleft). Any derivative work or distribution must comply with copyleft obligations; proprietary projects should review compatibility before use.
last release 2026-02-10 (185 days) · last repo commit 2026-02-10 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,881 downloads/mo, #14,673 on PyPI
Alternatives
Verify before relying
pip install cabarchive
import cabarchive
# Extract a CAB file
cab = cabarchive.CabArchive('archive.cab')
cab.extractall('output_directory')- Whether the library supports all CAB compression formats and edge cases in real-world archives.
- Performance characteristics when handling large or complex CAB files.
- Specific Python version compatibility (requires_python is unspecified in metadata).
What it is and what it does
cabarchive is a pure-Python implementation for reading and writing Microsoft Cabinet archive files. It provides a straightforward interface to extract CAB archives and create new ones, all without requiring external binaries or compiled dependencies. The library is designed for developers who need to work with CAB files in Python environments where external tools like cabextract may not be available or desirable.
The package has been in development since 2018 and is classified as Beta. It carries no runtime dependencies, making it lightweight to integrate. The codebase is maintained but aging—the last release occurred 185 days ago, suggesting it is stable but not under active feature development. For straightforward CAB extraction and creation tasks, it offers a self-contained solution.
Use it for
- Extract Windows driver CAB files or firmware updates in Python without external tools.
- Automate unpacking of legacy Microsoft software distributions packaged as CAB archives.
- Create CAB archives programmatically for Windows deployment or distribution workflows.
- Parse and inspect CAB file contents in cross-platform Python applications.
- Integrate CAB handling into build or packaging pipelines without system dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need pure-Python CAB file handling without external dependencies.
The library is stable, has no runtime dependencies, and carries no known vulnerabilities. The aging maintenance status and Beta classification mean it is not under active development, but it is suitable for straightforward extraction and creation tasks. Review LGPL-2.1-or-later copyleft obligations if integrating into proprietary software.
Install
cabarchive on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is aging—last release was 185 days ago, though the repository remains active with a recent commit on 2026-02-10. Suitable for stable, maintenance-light use cases.
License in practice
Licensed under LGPL-2.1-or-later (copyleft). Any derivative work or distribution must comply with copyleft obligations; proprietary projects should review compatibility before use.
Quickstart
pip install cabarchive
import cabarchive
# Extract a CAB file
cab = cabarchive.CabArchive('archive.cab')
cab.extractall('output_directory')
Verify before relying
- Whether the library supports all CAB compression formats and edge cases in real-world archives.
- Performance characteristics when handling large or complex CAB files.
- Specific Python version compatibility (requires_python is unspecified in metadata).
Package facts
| License | LGPL-2.1-or-later copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 185 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,881 / month, #14,673 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)Programming Language :: PythonTopic :: System :: ArchivingTopic :: Utilities |
Evidence: cabarchive-0.2.5-py3-none-any.whl
Tags
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 › “cab file extract python”
- cabarchiveA pure-Python library for creating and extracting Microsoft Cabinet…
- patoolPatool is a command-line archive manager that can create, extract,…
- extractcodeExtracts a wide range of archive formats (tar, zip, 7z, rpm, deb,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also handy-archives · extractcode · tnefparse · jupyter-archive · tzst · rpmfile · libarchive-c · pyunpack · ar · pyinstxtractor-ng