unrar
Wrapper for UnRAR library, ctypes-based.
Decision gist · record as of 2026-08-14
No—this package is abandoned and GPL-3 copyleft licensed. Unless you are working on an open-source project with a specific legacy dependency on this exact wrapper, you should seek a maintained alternative. The lack of updates since 2019 creates compatibility risk with modern Python and UnRAR versions, and the copyleft license blocks use in proprietary software.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- The UnRAR library must be installed separately on your system and discoverable by the system library loader, or you must set the UNRAR_LIB_PATH environment variable to point to the library.
- Installation is straightforward via pip, but the package requires the UnRAR library to be installed separately on your system—either compiled from source or downloaded pre-built.
- The package has been abandoned since 2019 with no recent maintenance.
License · maintenance · safety
GPL-3 (copyleft) — Licensed under GPL-3 (copyleft), which means any code that links to or distributes this package must also be open-source under a compatible license. This is a significant constraint for proprietary or closed-source projects.
last release 2019-09-08 (2532 days) · last repo commit 2022-11-16 · 79 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,566 downloads/mo, #14,217 on PyPI
Alternatives
Verify before relying
pip install unrar
from unrar import rarfile
rar = rarfile.RarFile('sample.rar')
files = rar.namelist()
rar.extractall()- Whether the package works reliably with modern Python versions beyond 3.7, given the classifiers list only goes to 3.7 and the project is abandoned.
- Current compatibility with recent UnRAR library versions (last tested with 5.2.6 in 2019).
- Whether alternative maintained packages now exist for RAR archive handling in Python.
What it is and what it does
unrar is a ctypes-based wrapper around the UnRAR library that lets you work with RAR archive files from Python. It provides a file-like interface to list archive contents, extract files, test archive integrity, and read file data directly without full extraction. The package has no Python runtime dependencies—it relies entirely on the system's UnRAR library, which you must install separately.
The package is in beta status and has been abandoned since 2019, with its last release in September of that year. While it carries no known security vulnerabilities, the lack of maintenance means it may not work reliably with modern Python versions or recent UnRAR releases. The GPL-3 copyleft license also restricts use in proprietary projects.
Use it for
- Extract files from RAR archives in a Python application without shelling out to external commands.
- List and inspect the contents of RAR archives programmatically to validate or audit archive structure.
- Read individual files from a RAR archive into memory without extracting the entire archive to disk.
- Test RAR archive integrity and detect corruption before attempting extraction.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—this package is abandoned and GPL-3 copyleft licensed.
Unless you are working on an open-source project with a specific legacy dependency on this exact wrapper, you should seek a maintained alternative. The lack of updates since 2019 creates compatibility risk with modern Python and UnRAR versions, and the copyleft license blocks use in proprietary software.
Install
unrar on PyPI
Before you install
Installation is straightforward via pip, but the package requires the UnRAR library to be installed separately on your system—either compiled from source or downloaded pre-built. The package has been abandoned since 2019 with no recent maintenance.
The UnRAR library must be installed separately on your system and discoverable by the system library loader, or you must set the UNRAR_LIB_PATH environment variable to point to the library.
License in practice
Licensed under GPL-3 (copyleft), which means any code that links to or distributes this package must also be open-source under a compatible license. This is a significant constraint for proprietary or closed-source projects.
Quickstart
pip install unrar
from unrar import rarfile
rar = rarfile.RarFile('sample.rar')
files = rar.namelist()
rar.extractall()
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.7, given the classifiers list only goes to 3.7 and the project is abandoned.
- Current compatibility with recent UnRAR library versions (last tested with 5.2.6 in 2019).
- Whether alternative maintained packages now exist for RAR archive handling in Python.
Package facts
| License | GPL-3 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,532 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,566 / month, #14,217 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 :: DevelopersProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7 |
Evidence: unrar-0.4-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 › “read rar files python”
- unrarProvides Python access to RAR archive files through ctypes bindings…
- rarfileReads RAR archive files (RAR3 and RAR5 formats) in pure Python, with…
- pyunpackUnpacks archive files in Python with support for multiple formats…
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 rarfile · pyunpack · libarchive-c · extractcode · ar · cwrap · py7zr · arpy · rpmfile · patool