event-driven radio written in Python