Skip to content

Add GreenCalculus to Measurement - #104

Open
jeremiahsay wants to merge 1 commit into
github:mainfrom
jeremiahsay:add-greencalculus
Open

Add GreenCalculus to Measurement#104
jeremiahsay wants to merge 1 commit into
github:mainfrom
jeremiahsay:add-greencalculus

Conversation

@jeremiahsay

Copy link
Copy Markdown

Adding GreenCalculus to Measurement — one line, no other changes.

What it is

Python and JavaScript clients for greenhouse-gas emission factors published by DEFRA, the US EPA, ADEME, the IPCC and others.

The thing that makes it worth listing here is provenance rather than coverage. Every value comes back with the exact cell in the publisher's workbook it was read from, the publisher's own citation string, and the data version it was read at. The problem it addresses is the one where a carbon figure in a codebase traces back to a blog post rather than a primary document, and nobody can reconstruct it six months later. A calculation can also be pinned to a data version, so the same inputs reproduce the same number a year on — which matters when a figure ends up in a disclosure.

The corpus is readable without an API key, so the quickstart in the README runs with nothing to sign up for.

Why Measurement

It sits next to CO2.js and region-carbon-info: emission factors are the input every measurement tool needs, and this supplies them with their sources attached rather than estimating energy use directly.

Checks against CONTRIBUTING

  • On GitHub — repo linked above, MIT licensed.
  • Actively developed — pushed today; published on PyPI and npm; CI green.
  • Usable by otherspip install greencalculus / npm i greencalculus, plus a Google Workspace Marketplace add-on for people who work in spreadsheets.
  • Format[Name](URL): description, appended to the end of Measurement so the diff is a single line.

Disclosure: I maintain this project. Happy to shorten the entry, move it to another category, or drop it if it isn't a fit for the directory.

Python and JavaScript clients for sourced greenhouse-gas emission
factors, where every value carries the source cell, publisher citation
and data version it was read at.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant