Comparison
packaging vs semver vs semver4 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 8 days ago, commits in 24 of the last 26 weeks. A safe choice.
pip install packagingPython helper for Semantic Versioning (https://semver.org)
Actively maintained. Last release 5 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install semverSemantic versioning module enriched by hotfix version
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install semver4Parsing, 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
- semver4 is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- 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, 25× more than semver.
- packaging also has the best Pythie’s Index (94).
- packaging is growing fastest: downloads +12% over the last month.
- Safe default for a new project: packaging.