flopy.utils.parse_version module
- exception InvalidVersion[source]
Bases:
ValueError
An invalid version was found, users should refer to PEP 440.
- parse(version: str) LegacyVersion | Version [source]
Parse the given version string and return either a
Version
object or aLegacyVersion
object depending on if the given version is a valid PEP 440 version or a legacy version.