Python package to validate version codes.
As usual, just download it using pip:
pip install validate_version_code
Since some software handling coverages sometimes get slightly different results, here's three of them:
He's a basic how-to:
from validate_version_code import validate_version_code
valid_version_code = "1.2.3"
invalid_version_code = "beta.3"
assert validate_version_code(valid_version_code)
assert not validate_version_code(invalid_version_code)