skillfed

version-parser

This package can parse and compare semantic versioning.

version-parser v1.0.1 98.0K downloads/30d#13,120 on PyPI8
Permissive license DORMANT released

What it is and what it does

version-parser is a utility for parsing, comparing, and converting version strings across multiple formats. It recognizes semantic versions (v1.2.3), filename conventions (v_1_2_3), classname patterns (VM1m2b3), and numeric representations, then extracts major, minor, and build/patch components. You can compare versions using standard operators, check compatibility between patch-level differences, and convert between format types.

The package has no runtime dependencies and is classified as Production/Stable, but it has been dormant since early 2021. It's suitable for projects that need flexible version parsing across non-standard formats, though the lack of recent maintenance means you should verify compatibility with your Python version and test thoroughly before relying on it in new code.

Use it for:

  • Extract major, minor, and build version numbers from version strings in legacy or non-standard formats
  • Compare versions using logical operators to determine which is newer or if they are compatible
  • Convert version strings between different naming conventions (e.g., from filename style to semantic version)
  • Check patch-level compatibility between two versions where minor differences should be considered compatible
  • Represent versions as integers for storage or comparison in systems that require numeric version identifiers

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Parses version strings in multiple formats (semantic, filename, classname styles) and provides comparison and conversion operations between them.

No—unless you have an existing codebase already using it. The package is dormant (last release 2021-01-06), distributed source-only with high install friction, and Python version support is unspecified. For new projects, use a maintained alternative like packaging.version or semver. If you must use it, verify it works with your Python version and test thoroughly.

Install

version-parser on PyPI

pip

pip install version-parser

uv

uv add version-parser

poetry

poetry add version-parser

Installing version-parser

Before you install

High install friction due to source-only distribution (version_parser-1.0.1.tar.gz). Package is dormant—last release was 2021-01-06, over five years old, with no recent maintenance activity despite an active repository.

License in practice

Licensed under MIT (permissive), so no legal restrictions on use or modification.

Quickstart

pip install version-parser

from version_parser import Version

v1 = Version("v2.3.4")
v2 = Version("v2.3.2")
print(v1 > v2)  # True
print(v1.get_major_version())  # 2

Verify before relying

  • Whether the package works correctly with modern Python versions (requires_python is unspecified)
  • Whether source-only distribution builds cleanly on all platforms without compiled dependencies
  • Current test coverage and whether dormancy indicates unresolved bugs or simply stable, complete code

Package facts

License not declared (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance dormant — 2,046 days since the last release
Last repo commit
First released
Downloads 97,986/month — #13,120 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: version_parser-1.0.1.tar.gz

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software DevelopmentTopic :: Utilities

Tags

version string parsingsemantic version comparisonversion format conversionmajor minor patch extractionversion compatibility checkingparse version numbersversion number utilities
version-managementdormant

More Software Development packages