ParsedVersion#
- class neophile.inventory.version.ParsedVersion#
Bases:
objectAbstract base class for versions.
We use two separate version implementations, one based on
packaging.version.Versionand one based onsemver.version.Version. This class defines the common interface.Methods Summary
from_str(string)Parse a string into a version.
is_valid(string)Return whether a version string is a valid version.
Methods Documentation