pyspread.lib.packaging package¶
Submodules¶
pyspread.lib.packaging.version module¶
- exception pyspread.lib.packaging.version.InvalidVersion[source]¶
Bases:
ValueError
An invalid version was found, users should refer to PEP 440.
- pyspread.lib.packaging.version.parse(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.- Return type:
Union[LegacyVersion, Version]