Simple pubsub framework for python