$npx skillfedfor your agent

rpmfile

Read rpm archive files

Worth itPyPI UtilitiesReleased May 20261.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rpmfile-2.2.1-py3-none-any.whl
v2.2.1 · released 2026-05-06 · Python >=3.10

Yes. Low install friction, no runtime dependencies, active maintenance, MIT license, and zero known vulnerabilities make this a safe choice. Install it if you need to programmatically work with RPM files in Python without relying on system RPM tools.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10; optional zstandard module needed for zstd-compressed RPMs.
  • Low friction installation with no runtime dependencies.
  • Active maintenance with recent commits and a stable release history since 2014.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal constraint.

last release 2026-05-06 (100 days) · last repo commit 2026-05-06 · 31 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,099,790 downloads/mo, #4,371 on PyPI

Verify before relying

import rpmfile

with rpmfile.open('file.rpm') as rpm:
    print(rpm.headers.keys())
    fd = rpm.extractfile('./usr/bin/script')
    print(fd.read())
  • Whether zstandard is truly optional or required for common RPM variants in practice.
  • Performance characteristics when handling large RPM files or batch extraction.
Same gist for agents: .md · .json

What it is and what it does

rpmfile is a Python library for reading and inspecting RPM archive files, designed to mirror the interface of Python's built-in tarfile module. It lets you open an RPM, examine its headers and metadata, list contents, and extract individual files programmatically without needing system RPM tools.

The package supports both standard and zstd-compressed RPM files (the latter requires an optional zstandard dependency). It provides both a Python API for programmatic access and command-line tools for listing, extracting, and displaying RPM information. The library has been maintained since 2014 and currently supports Python 3.10 through 3.14.

Use it for

  • Extract specific files from RPM packages in build or deployment automation scripts.
  • Inspect RPM headers and metadata without installing the package on the system.
  • Parse RPM contents in CI/CD pipelines to validate package structure or contents.
  • Read RPM files from remote sources via stdin in shell pipelines.

Worth the install?

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

Worth it

Yes.

Low install friction, no runtime dependencies, active maintenance, MIT license, and zero known vulnerabilities make this a safe choice. Install it if you need to programmatically work with RPM files in Python without relying on system RPM tools.

Install

rpmfile on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance with recent commits and a stable release history since 2014.

Requires Python >= 3.10; optional zstandard module needed for zstd-compressed RPMs.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal legal constraint.

Quickstart

import rpmfile

with rpmfile.open('file.rpm') as rpm:
    print(rpm.headers.keys())
    fd = rpm.extractfile('./usr/bin/script')
    print(fd.read())

Verify before relying

  • Whether zstandard is truly optional or required for common RPM variants in practice.
  • Performance characteristics when handling large RPM files or batch extraction.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 100 days since the last release
Last repo commit
First released
Downloads1,099,790 / month, #4,371 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: rpmfile-2.2.1-py3-none-any.whl

Tags

Capabilities
read rpm files pythonextract rpm archiveinspect rpm metadatarpm file parserrpm archive toolsrpm extraction library
Topics
rpm-archivepackage-inspection

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 rpm files python”

  • rpmfileInspect and extract files from RPM archive files using a Python API…
  • rpmProvides access to system RPM Python bindings inside a virtualenv by…
  • rpm-vercmpCompares RPM package version strings using the same algorithm as the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities 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
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / 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
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also tzst · backports.tarfile · fastar · unix-ar · rpm · extractcode · securetar · koji · rpm-vercmp · version-utils