Python version of my VORP calculator