a simple mediateca handler written in python