Green code — Python energyusage package

TLDR: measure the environmental impact of your codes computation with the energy usage package

NB *Due to the methods in which the energy measurement is being done (through the Intel RAPL interface and NVIDIA-smi), this package is only available on Linux kernels that have the RAPL interface and/or machines with an Nvidia GPU.*

Photo by Alistair MacRobert on Unsplash