Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 864 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 864 Bytes

Carbon Calculator

CO2.py is a Python library for calculating carbon emissions from internet data transfer and checking green hosting status.

Features

  • Calculate carbon emissions from data transfer
  • Get grid intensity data by country
  • Check domains against Green Web Foundation's dataset

Install the Library Locally:

Navigate to the root directory of your project (where setup.py is located) and run:

pip install .

This will install your package locally, allowing you to import it in other projects or scripts.

Data Sources

  • Grid intensity data: Ember Climate Data Portal
  • Green domains: Green Web Foundation API
  • Energy consumption model based on peer-reviewed research

Notes

  • All calculations are estimates based on available data
  • Grid intensity data is updated periodically
  • Free APIs are used for all external data