Python module for rigging tournaments