$npx skillfedfor your agent

rarfile

RAR archive reader for Python

Worth itPyPI Python ModulesReleased Aug 20266.0M downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rarfile-4.5-py3-none-any.whl
v4.5 · released 2026-08-02 · Python >=3.10

Yes. rarfile is actively maintained, has no Python dependencies, carries a permissive ISC license, and fills a clear need for RAR archive support in Python. The requirement for an external decompression tool is a known and documented constraint, not a deficiency. Suitable for production use when the external tool dependency is acceptable.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • An external decompression tool (unrar, 7zip, unar, or bsdtar) must be installed on the system; archive parsing and non-compressed file reading work in pure Python, but compressed files require the external tool.
  • Low install friction with no runtime dependencies.
  • Actively maintained as of 2026-08-13 with recent releases.

License · maintenance · safety

ISC (permissive) — Licensed under ISC (permissive), allowing commercial and private use with minimal restrictions. No copyleft obligations.

last release 2026-08-02 (12 days) · last repo commit 2026-08-13 · 267 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,033,515 downloads/mo, #1,980 on PyPI

Verify before relying

pip install rarfile

import rarfile

with rarfile.RarFile('archive.rar') as rf:
    rf.extractall()
  • Whether the package's external tool detection is automatic or requires manual configuration.
  • Performance characteristics when handling large multi-volume archives.
  • Specific Python 3.10+ compatibility details beyond the stated requirement.
Same gist for agents: .md · .json

What it is and what it does

rarfile is a Python module that reads RAR archive files following the interface style of the standard zipfile library. It handles both RAR3 and RAR5 formats, multi-volume archives, password-protected files, and Unicode filenames. Archive parsing and non-compressed file access are implemented in pure Python, while compressed file extraction delegates to an external tool such as unrar, 7zip, unar, or bsdtar.

The module is designed for developers who need to programmatically work with RAR archives in Python. It requires an external decompression tool to be installed on the system for extracting compressed content, but provides a straightforward API for reading archive metadata and accessing file contents without requiring additional Python dependencies.

Use it for

  • Extract files from RAR archives in a Python application without calling command-line tools directly.
  • Read metadata and list contents of multi-volume RAR archives.
  • Access password-protected RAR files programmatically with password support.
  • Process RAR archives with Unicode filenames across different operating systems.
  • Migrate legacy code that works with zip files to also handle RAR format archives.

Worth the install?

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

Worth it

Yes.

rarfile is actively maintained, has no Python dependencies, carries a permissive ISC license, and fills a clear need for RAR archive support in Python. The requirement for an external decompression tool is a known and documented constraint, not a deficiency. Suitable for production use when the external tool dependency is acceptable.

Install

rarfile on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as of 2026-08-13 with recent releases. Requires Python 3.10 or later and an external decompression tool (unrar, 7zip, unar, or bsdtar) to extract compressed files.

An external decompression tool (unrar, 7zip, unar, or bsdtar) must be installed on the system; archive parsing and non-compressed file reading work in pure Python, but compressed files require the external tool.

License in practice

Licensed under ISC (permissive), allowing commercial and private use with minimal restrictions. No copyleft obligations.

Quickstart

pip install rarfile

import rarfile

with rarfile.RarFile('archive.rar') as rf:
    rf.extractall()

Verify before relying

  • Whether the package's external tool detection is automatic or requires manual configuration.
  • Performance characteristics when handling large multi-volume archives.
  • Specific Python 3.10+ compatibility details beyond the stated requirement.

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 12 days since the last release
Last repo commit
First released
Downloads6,033,515 / month, #1,980 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 :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Operating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Archiving :: Compression

Evidence: rarfile-4.5-py3-none-any.whl

Tags

Capabilities
rar archive reader pythonextract rar filesread rar archivesrar3 rar5 supportpassword protected rarmulti-volume rar extractionrar file parser
Topics
archive-formatfile-handling
PyPI keywords
rarunrararchive

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 › “rar archive reader python”

  • rarfileReads RAR archive files (RAR3 and RAR5 formats) in pure Python, with…
  • unrarProvides Python access to RAR archive files through ctypes bindings…
  • 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 Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also unrar · pyunpack · libarchive-c · py7zr · unix-ar · extractcode · zipfile-deflate64 · warc3-wet · arpy · warc3-wet-clueweb09