Some simple doc would be helpful here, perhaps with a link to the ported implementation in python.