package semver2
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Semver
Source
Semantic version parsing and comparator following 2.0.0 specs. <https://semver.org/#semantic-versioning-200>
A semantic version is composed of numeric major, minor and patch versions, optionnaly followed by a list of prerelease identifiers and a list of build identifiers.
Build a valid version from parts. Require positive values for major, minor and patch params.
Parse a string version, returning None if format is invalid.
Check format validity.
Compare versions, returning 0 if equal, -1 if first has lower precedence, 1 otherwise.
Pretty print version.