mlco2 / mlco2/codecarbon

Use Electricity Map API in CodeCarbon API to compute emissions

Open
#222 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API enhancement P2
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Here is the documentation : http://static.electricitymap.org/api/docs/index.html

  • Use a Redis cache to call the Electricity Map API.
  • Find a way to tell the CC API if it have to compute emission or let the package do it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Electricity Map API documentation linked in the issue and inspect the CodeCarbon API integration point. Determine how Redis caching and the choice between API-side and package-side emission computation fit the existing flow; done means both requested behaviors are implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, redis
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.