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 Lea, type the following command:

pip install lea

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 Distributions

lea-2.1.2.zip (60.8 kB view details)

Uploaded Source

lea-2.1.2.tar.gz (46.6 kB view details)

Uploaded Source

File details

Details for the file lea-2.1.2.zip.

File metadata

  • Download URL: lea-2.1.2.zip
  • Upload date:
  • Size: 60.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lea-2.1.2.zip
Algorithm Hash digest
SHA256 cadefc4923d50f1ee014264629c625070a379bb3abc9032e9fd4c247bc054cc3
MD5 e9edce64494f41d0c2e216ad536dbd74
BLAKE2b-256 c62d681dff1f616fddcafddbf55e308826667d00f3fd0fb75cdd11d89ad32e14

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lea-2.1.2.tar.gz
Algorithm Hash digest
SHA256 3d348c58e29253da93e79e66dc4d92bb8b2bb7398b7bf12a1edf0434747c9b1b
MD5 0be1365f867ae70b0f030d15dba94b4e
BLAKE2b-256 8d3328b025eee42ee6ac010d79187acad88bfcda200dd17795a67651d1d268d2

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 Pingdom Monitoring Sentry Error logging StatusPage Status page