Comparison
semantic-version vs verlib2 vs version-parser vs verspec
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A library implementing the 'SemVer' scheme.
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install semantic-versionA standalone bundle of "distutils.version" and "packaging.version", without anything else.
Actively maintained. Last release 5 months ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install verlib2This package can parse and compare semantic versioning.
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install version-parserFlexible version handling
Actively maintained. Last release 7 weeks ago. A safe choice.
$
pip install verspecIn short
- semantic-version looks abandoned: avoid it for new projects.
- version-parser looks abandoned: avoid it for new projects.
- verspec is the most used: 1.5M downloads a month.
- Maintenance is comparable: verspec 74, verlib2 72 on Pythie’s Index.
- verspec is growing fastest: downloads +25% over the last month.
- Safe default for a new project: verspec.
Side by side
| Metric | semantic-version | verlib2 | version-parser | verspec |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 72 |