Exposing distributions to Python