Some "causality detectors" implemented in python