Event driven concurrent framework for python