Comparison
semver vs verlib2 vs versions vs verspec
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python helper for Semantic Versioning (https://semver.org)
Actively maintained. Last release 5 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install semverA 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 verlib2Parsing, inspecting and specifying versions.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install versionsFlexible version handling
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install verspecIn short
- versions is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- semver is the most used: 79.9M downloads a month, 54× more than verspec.
- Maintenance is comparable: semver 84, verspec 74, verlib2 72 on Pythie’s Index.
- verspec is growing fastest: downloads +25% over the last month.
- Safe default for a new project: semver.