Final version presented at EuroPython 2014