An open API service indexing awesome lists of open source software.

https://github.com/ineszenkri/co2.py

CO2-Calculating the Hidden Carbon Cost of Internet Usage
https://github.com/ineszenkri/co2.py

co2-emission greensoftware greenweb library sustainable-development-goals

Last synced: 3 months ago
JSON representation

CO2-Calculating the Hidden Carbon Cost of Internet Usage

Awesome Lists containing this project

README

        

# 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:
```python
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