rpm-vercmp
Pure Python implementation of rpmvercmp
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2018-10-30) and declares support only for Python 2.6, 2.7, 3.4, 3.6, and 3.7, all end-of-life versions. While it has no known vulnerabilities and no runtime dependencies, the lack of maintenance means it has not been tested or updated for modern Python versions. Use only if locked into one of the declared Python versions with no alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- High install friction: the package has been abandoned since its only release on 2018-10-30, with no maintenance activity or updates.
- Declared support for Python 2.6, 2.7, 3.4, 3.6, and 3.7 is likely outdated for modern environments.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), which allows commercial use, modification, and distribution with minimal restrictions.
last release 2018-10-30 (2845 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,486 downloads/mo, #13,017 on PyPI
Alternatives
Verify before relying
import rpm_vercmp
assert rpm_vercmp.vercmp("1.0", "1.0") == 0
assert rpm_vercmp.vercmp("1.0", "1.1") == -1- Whether the package works on Python versions released after 3.7 despite being last released in 2018.
- Whether the pure-Python implementation correctly handles all edge cases in RPM's version comparison algorithm.
- Current compatibility with non-RPM-based systems where the C library is unavailable.
What it is and what it does
rpm-vercmp is a pure-Python implementation of the RPM Package Manager's version comparison algorithm. It provides a single function to compare two version strings and return their ordering, matching the behavior of RPM's C library without requiring that library to be installed. This is useful on systems where RPM is not available or where the C library does not support the Python interpreter in use.
The package has no runtime dependencies and implements the comparison logic entirely in Python. However, it has been abandoned since its initial release in October 2018, with no updates to support newer Python versions or address any potential issues discovered since then.
Use it for
- Compare RPM package versions on non-RPM-based systems where rpm-python is unavailable.
- Sort a list of RPM version strings using the official RPM comparison rules without installing system packages.
- Validate or parse version strings in build tools or package managers that need RPM-compatible version ordering.
- Test or verify RPM version comparison logic in pure Python environments without C library dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2018-10-30) and declares support only for Python 2.6, 2.7, 3.4, 3.6, and 3.7, all end-of-life versions. While it has no known vulnerabilities and no runtime dependencies, the lack of maintenance means it has not been tested or updated for modern Python versions. Use only if locked into one of the declared Python versions with no alternative.
Install
rpm-vercmp on PyPI
Before you install
High install friction: the package has been abandoned since its only release on 2018-10-30, with no maintenance activity or updates. Declared support for Python 2.6, 2.7, 3.4, 3.6, and 3.7 is likely outdated for modern environments.
License in practice
Licensed under Apache Software License (permissive), which allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
import rpm_vercmp
assert rpm_vercmp.vercmp("1.0", "1.0") == 0
assert rpm_vercmp.vercmp("1.0", "1.1") == -1
Verify before relying
- Whether the package works on Python versions released after 3.7 despite being last released in 2018.
- Whether the pure-Python implementation correctly handles all edge cases in RPM's version comparison algorithm.
- Current compatibility with non-RPM-based systems where the C library is unavailable.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,845 days since the last release |
| First released | |
| Downloads | 99,486 / month, #13,017 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 :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: Build ToolsTopic :: System :: Archiving :: Packaging |
Evidence: rpm_vercmp-0.1.2.tar.gz
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 › “rpm version comparison”
- rpm-vercmpCompares RPM package version strings using the same algorithm as the…
- version-utilsParses and compares package version strings in RPM/Yum format using…
- rpmProvides access to system RPM Python bindings inside a virtualenv by…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also version-utils · koji · fastdiff · rpm · rpmfile · cdifflib · verspec · ps-mem · pyjarowinkler · xmldiff