Python app using Flask to retrieve weighted ranked stats.