{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Provides standalone version comparison and parsing for PEP 386 and PEP 440 version schemes without requiring the full packaging library or deprecated distutils.","skillfed_tags":["version-management","pep440","distutils-replacement"],"use_cases":["Parse and compare versions in build scripts or package management tools without adding packaging as a dependency.","Handle both PEP 386 (distutils) and PEP 440 (packaging) version formats in legacy or mixed codebases.","Replace deprecated distutils.version imports in projects targeting Python 3.12 and later where distutils was removed."],"what_it_does":"verlib2 bundles the version-parsing logic from both distutils and the packaging library into a single, lightweight standalone module. It provides LooseVersion and StrictVersion from PEP 386, plus the Version class from PEP 440, without requiring you to add packaging as a dependency or rely on the deprecated distutils standard library.\n\nThe package solves a practical problem: many projects need version comparison but want to avoid the overhead of packaging, or they're migrating away from distutils after its removal in Python 3.12. verlib2 bundles both implementations with backward-compatible syntax to support Python 3.6 and later, so you can import what you need and compare versions with a single lightweight dependency.","worth_installing":"Yes. If you need version parsing and comparison without packaging as a dependency, or you're migrating from distutils, this is a practical drop-in. Low install friction, active maintenance, no known vulnerabilities. License treatment is unclear, so verify the actual license before use in proprietary code."},"id":"verlib2","links":{"html":"https://skillfed.io/packages/verlib2","md":"https://skillfed.io/packages/verlib2.md","pypi":"https://pypi.org/project/verlib2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-08","license_spdx":null,"license_treatment":"unclear","name":"verlib2","python_support":"supports_current","summary":"A standalone bundle of \"distutils.version\" and \"packaging.version\", without anything else."},"popularity":{"monthly_downloads":235494,"position":9000,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"26.2"}
