Skip to main content

CI pypi Downloads versions license

Probability theory using pythonic and (almost) mathematical notation.

Help

See documentation for more details.

A simple example: Intelligence quotient

>>> from hall import P, E, Std, Normal, sample
>>> IQ = ~Normal() * 100 + 15
>>> E[IQ]
100.0
>>> Std[IQ]
15.0
>>> P(IQ >= 130)
0.0227501319481792
>>> print("IQ test outcome:", sample(IQ))
IQ test outcome: 116.309834872963

So the chance of having an IQ (normally distributed with μ=100 and σ=15) of at least 130 is approximately 2.3%.

A simple example: Monty Python Hall

TODO

Contributing

For guidance on setting up a development environment and how to make a contribution to hall, see Contributing to hall.

Release files for hall 0.1.13

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

Source distribution (sdist)

Source distribution for hall 0.1.13
File Size Uploaded
hall-0.1.13.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hall 0.1.13
File Interpreter ABI Platform
hall-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size:26.6 kB

Release files / hall-0.1.13.tar.gz

Download URL hall-0.1.13.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8e308ac137909c85af545ef8d9d0d8e4b90f5c0ed0ea7ccd80c24210a9eec7d
BLAKE2b-256 checksum
How to use checksums
4b7c3f2419bd526a1c3a991886cd08a5a7634cd163affb1aa2b30f1d47781f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

Release files / hall-0.1.13-py3-none-any.whl

Download URL hall-0.1.13-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d209faae6cf382b2514e556eb90ce6ca0d4bccd1a199b1a0cb00cdc7131be82b
BLAKE2b-256 checksum
How to use checksums
1d15c13ded420614f3779a8a895686cc7eed242b873c730db8db51f6cef976c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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