Simple python lib to compute accuracy, precision, recall, fbeta from confusion matrices