eco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.