_images/full_logo.svg

perun is a Python package that calculates the energy consumption of Python scripts by sampling usage statistics from Intel RAPL, Nvidia-NVML, and psutil. It can handle MPI applications, gather data from hundreds of nodes, and accumulate it efficiently. perun can be used as a command-line tool or as a function decorator in Python scripts.

Note

This project is under active development. For any issues, features requests, or if you would like to contribute, our github page page is the place to go.

Indices and tables