--- id: version-parser version: "1.0.1" license: unclear license_treatment: permissive maintenance: dormant --- # version-parser — This package can parse and compare semantic versioning. License: permissive · Maintenance: dormant · Downloads: 98.0K/mo ## 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 above — 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 pip install version-parser uv add version-parser 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: unspecified - Install friction: high - Maintenance: dormant - Downloads: 98.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags version string parsing, semantic version comparison, version format conversion, major minor patch extraction, version compatibility checking, parse version numbers, version number utilities, version-management, dormant [View on SkillFed](https://skillfed.io/packages/version-parser) · [View on PyPI](https://pypi.org/project/version-parser/)