htmlparser2 is the fastest HTML parser, and takes some shortcuts to get there. If you need strict HTML spec compliance, have a look at parse5.
MrModeltest 2.4 by Johan A. A. Nylander. Orignal code by David Posada, U. Vigo, Spain. For performing hierarchical likelihood ratio tests and calculating approximate AIC and/or very approximate AICc ...