espuma.co in Python