That's great! I submitted another story for a Python library
https://news.ycombinator.com/item?id=40619672
I think CodeCarbon (the python library) might have a better method for estimating carbon usage. They seem to be digging it up on a per-power station basis. Would love to see the join forces.