version - Pyteomics version information¶
This module is provided for convenience and captures information about the current version number of Pyteomics.
Classes¶
VersionInfo
- a namedtuple for version numbers that supports comparisons and can be initializedfrom a version string.
Constants¶
version
- a string with the current version.
version_info
- a tuple with structured information about the current version.
- class pyteomics.version.VersionInfo(version_str)[source]¶
Bases:
VersionInfo
Tuple mimicking
sys.version_info
- __init__()¶
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- major¶
Alias for field number 0
- micro¶
Alias for field number 2
- minor¶
Alias for field number 1
- releaselevel¶
Alias for field number 3
- serial¶
Alias for field number 4