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 phenomena, 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.4

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

Metadata

Release files for lea 2.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lea 2.3.4
File Size Uploaded Provenance Actions
lea-2.3.4.tar.gz 64.6 kB Without provenance Details for lea-2.3.4.tar.gz

Release files / lea-2.3.4.tar.gz

Download URL lea-2.3.4.tar.gz
Size 64.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55bff09adf8e8e09cfc5671a6bc84ccda9e494cc011cb7c43631e128eec15d07
BLAKE2b-256 checksum
How to use checksums
5634e6c70b6a9a8983b7bf2a9d4942e0f7ba7e593630330c4a8d7ab1709e9e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lea 2.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.3.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page