Bayesian inference in Python