Python Package semantic-version

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

requirements.txt

semantic-version == 2.10.0

Programming Model

from semantic_version import Version

v = Version('1.2.3')
v2 = Version.coerce('1.2')
assert v > v2

Getting the string representation of a Version instance.

?