wolfhece

Submodules

Package Contents

wolfhece.SYMBOLS_DIR: pathlib.Path[source]
wolfhece.msg[source]
wolfhece.set_logging_level(level)[source]

Set the logging level for the wolfhece package.

Parameters:

level (str) – The logging level to set. Can be one of ‘DEBUG’, ‘INFO’, ‘WARNING’, ‘ERROR’, ‘CRITICAL’.

wolfhece.ensure_ntv2grid_exists()[source]

Check if the NTV2 grid file exists in the expected location.

wolfhece.is_enough(min_version: str) bool[source]

Compare the current version of WolfHece to a given version string.

Parameters:

version (str) – The version string to compare against.

Returns:

True if the current version is greater than or equal to the given version, False otherwise.

Return type:

bool

wolfhece.is_opengl_context_available() bool[source]

Check if an OpenGL context is defined and available for use

wolfhece._check_version(min_version: str) bool[source]

Check if the current version is greater than or equal to the minimum version.

Parameters:
  • min_version (str) – The minimum required version.

  • current_version (str) – The current version to check against.

Returns:

True if the current version is greater than or equal to the minimum version, False otherwise.

Return type:

bool

wolfhece.check_available_version_on_pypi() str[source]

Check the latest available version of the package on PyPI.

Returns:

The latest version available on PyPI.

Return type:

str

wolfhece.can_upgrade_wolfhece() bool[source]

Check if the current version can be upgraded to the minimum required version.

Parameters:

min_version (str) – The minimum required version.

Returns:

True if the current version can be upgraded, False otherwise.

Return type:

bool

wolfhece.check_version(min_version: str) bool[source]

Check if the current version is greater than or equal to the minimum version.

Parameters:

min_version (str) – The minimum required version.

Returns:

True if the current version is greater than or equal to the minimum version, False otherwise.

Return type:

bool

wolfhece._PIE_NAMES[source]