Event-driven networking engine written in Python