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.2

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.2.tar.gz (64.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lea-2.3.2.tar.gz
Algorithm Hash digest
SHA256 7d261ad86f0a6f8bc985a02e3aba9eb54873e649cd4e73838c28c358ed34ed91
MD5 93cd8122af91c18daf5660104a3a7f1c
BLAKE2b-256 167f9344d6a9071ac3284730a27967274a64fde4eaa674ffa3d8b02991675a48

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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