A class for doing semantic versioning in Python.