Comparison
packaging vs semantic-version vs verlib2 vs versions
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Core utilities for Python packages
Actively maintained. Last release 7 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install packagingA 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 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 versionsIn short
- semantic-version looks abandoned: avoid it for new projects.
- versions is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- packaging is the most used: 2B downloads a month, 37× more than semantic-version.
- packaging also has the best Pythie’s Index (95).
- packaging is growing fastest: downloads +12% over the last month.
- Safe default for a new project: packaging.
Side by side
| Metric | packaging | semantic-version | verlib2 | versions |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 95 | 12 |