varsity media implementation in python