This library provides helpers for energy performance of buildings computation.
pip install epb
poetry add epb
from epb import Regulator, energy_class, total_consumption
eclass = energy_class(Regulator.BRUSSELS, 100)
# eclass == "C+"
tconsum = total_consumption(100, 250)
# tconsum == 25_000