Skip to content

CO2-Calculating the Hidden Carbon Cost of Internet Usage

License

Notifications You must be signed in to change notification settings

InesZenkri/CO2.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages