argopy.utils.GreenCoding.footprint_for_release

argopy.utils.GreenCoding.footprint_for_release#

GreenCoding.footprint_for_release(release: str | None = None, with_master: bool = True) DataFrame[source]#

Compute total carbon footprint for a given release

Parameters:
  • release (str, optional) – Tag of the release. E.g. ‘v1.0.0’. By default, we use the last release

  • with_master (bool, default=True) – Should we consider also the ‘master’ branch footprint or not.

Returns:

Total carbon footprint in gCO2eq, considering all workflows

Return type:

float