jmzero's tcstats, ported to python on flask