SciPy

aggregate: Working with Probability Distributions