Bayesian pragmatic models implemented in Python