Simple Publish/Subscribe in Python