argopy.utils.GreenCoding.shieldsio_endpoint#
- static GreenCoding.shieldsio_endpoint(value: float, outfile: Path | None = None, label: str = 'Total carbon emitted [gCO2eq]') Path[source]#
Insert value in a Shields.io json endpoint file
This is used by the argopy monitoring repository.
See live results at:
- Parameters:
value (float) β The carbon footprint value
outfile (
pathlib.Path, default: None) β Path toward json filelabel (str, default: 'Total carbon emitted [gCO2eq]') β The badge label to use
- Return type: