pymead.utils.version_check#

Functions

compare_versions(version_1, version_2)

Compares two versions.

extract_version_info_from_string(version_string)

Takes a raw string of the form 'v[major].[minor].[patch]-[pre-release tag].[pre-release id]' and returns a namedtuple containing the fields identified in brackets.

get_current_pymead_version()

Gets the current pymead version from the top-level __version__

get_latest_pymead_release_version()

Gets the latest raw version string from pymead's GitHub release page (note that the order of the list generated by response.json() is in order from latest to oldest.

using_latest([current_version_string])

Compares the current version string to the latest version string.

Classes

VersionInfo(major, minor, patch, ...)