ANN: Lea 1.2 (discrete probability distributions)

Pierre Denis pie.denis at
Tue Dec 17 23:24:07 CET 2013

I have the pleasure to announce the release of Lea 1.2. 

Lea is a Python package aiming at working with discrete
probability distributions in an intuitive way. 

It allows modeling a broad range of random discrete phenomenon's. Then,
it allows calculating probabilities of events, whether atomic, aggregated
or combined through given operations. A typical example is the probabilities
of the sum of N dice having known, possibly unfair, probability


Here are the main features of Lea: 

- models finite discrete probability distributions 
- standard distribution indicators (mean, standard deviation,.) 
- arithmetic and logical operators on probability distribution 
- cartesian products, conditional probabilities, joint distributions 
- generation of random samples 
- open-source project, LGPL license 
- pure Python module, lightweight - no package dependency 
- probabilities stored as integers (no floating-point biases) 


Download (PyPi): 

Project page: 

(with wiki documentation including tutorials, examples and API) 

Hoping this could be helpful in this uncertain universe... 

Pierre Denis 

More information about the Python-announce-list mailing list