PyOSD is a Python module for displaying text on your X display, much like the "On Screen Displays" used on TVs and some monitors.
It can be used by anything that needs your attention, such as showing the song currently playing in a Python-based MP3 player.