verspec is a Python library for handling software versions and specifiers, adapted from the `packaging` package. It provides a flexible API for parsing, comparing, and working with version strings, supporting both 'loose' and 'Python' (PEP 440) version schemes. The current version is 0.1.0, released in November 2020. As an initial release, its release cadence is not yet established.
pip install verspecVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to import and use both the 'loose' and 'python' (PEP 440 compliant) version and specifier classes to check if a version satisfies a given specifier.
Thoroughly test version parsing and comparison logic when upgrading to new `verspec` versions. Consult the GitHub repository's `CHANGES.md` or commit history for potential changes if official documentation is still unavailable.
Always explicitly import from either `verspec.loose` or `verspec.python` and consistently use the appropriate classes for a given context. For PyPI-style versioning and dependency resolution, `verspec.python` should be preferred.
No dependency data recorded yet.