Skip to main content

Lea is a Python package aiming at working with discrete probability distributions in an intuitive way. It allows you to model a broad range of random phenomenons, like dice throwing, coin tossing, gambling, weather, finance, etc. More generally, Lea may be used for any finite set of discrete values having known probability: numbers, booleans, date/times, symbols, … Each probability distribution is modeled as a plain object, which can be named, displayed, queried or processed to produce new probability distributions.

Lea also provides advanced functions that target Probabilistic Programming (PP); these include conditional probabilities, Bayes inference and Markov chains. To ease interactive calculations, an optional PP language (PPL), called “Leapp”, is included in the package; it extends Python syntax with few constructs to define and manipulate probabilistic models in an extremely concise way.

To install this beta version of Lea, type the following command:

pip install lea==2.3.1

Please go on project home page below for a comprehensive documentation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lea-2.3.1.tar.gz (64.6 kB view details)

Uploaded Source

File details

Details for the file lea-2.3.1.tar.gz.

File metadata

  • Download URL: lea-2.3.1.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lea-2.3.1.tar.gz
Algorithm Hash digest
SHA256 4209381ba81620b175873aa98e2325e5b318d12a4fd3c335a90dbdb87fa1fce1
MD5 00834451e521c851003019b4af44564e
BLAKE2b-256 4298503f58331b79d518221a637083155dccbeb395b76a00ee1cc20a0f7b9d13

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.3.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page