gpf_entrepot_toolbelt.utils.environment module

Helpers to retrieve information from execution environment like software versions.

gpf_entrepot_toolbelt.utils.environment.get_gdal_version() str

Return GDAL version from gdal-config cmd or from environment variable GDAL_VERSION.

Renvoie:

version of GDAL

Type renvoyé:

str

gpf_entrepot_toolbelt.utils.environment.get_proj_version() str | None
Get PROJ version, using GDAL, PyProj, installed proj binaries or environment

variable.

Renvoie:

PROJ’s version as Major.Minor.Micro or None if not found

Type renvoyé:

str | None