EPFL Python Frontend Logic for Pyramid