version-parser
This package can parse and compare semantic versioning.
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-parseruv
uv add version-parserpoetry
poetry add version-parserInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
semverParse, compare, and manipulate semantic version…
permissive · top 1,000 on PyPI
versionsParses, compares, and validates semantic…
permissive · top 15,000 on PyPI
bumpAutomatically increments version numbers in…
permissive · top 15,000 on PyPI
verspecverspec parses and compares software version…
permissive · top 5,000 on PyPI
release-tagAutomatically creates and optionally pushes…
permissive · top 15,000 on PyPI
bump-my-versionAutomates version number management in projects…
permissive · top 5,000 on PyPI
semver4Parses and manipulates semantic versions with…
permissive · top 15,000 on PyPI
pyaxmlparserParses Android APK files to extract metadata…
permissive · top 15,000 on PyPI
awesomeversionParse and compare version strings across…
permissive · top 5,000 on PyPI
hatch-nodejs-versionProvides Hatch plugins to read and write Python…
permissive · top 15,000 on PyPI