Just a version parsing library.
Extracts numbers, their formats and a hex-number (available as hash
) from version strings. Allows comparisons (>
, <
and ==
) and editing. Allows accessing components separately using numeric indices. Allows iteration. First 4 components are available as properties major
, minor
, patch
and tweak
.
See tests/tests.py
for the examples.