rapl
A Python library to capture the energy consumption of code snippets
Jupyter extension to display CPU and GPU power usage and equivalent CO2 emissions
Dynamic CPU/GPU power scaling to maximize renewable energy usage and reduce emissions
Estimate or measure the power draw of a Linux device — a pure Python library (INA219 / RAPL / Raspberry Pi PMIC / battery, or a calibrated estimate, with provenance on every reading).