Python-based Foul-o-Matic.