A Python package for Gaussian and Binomial probability distributions.
Project description
Probability-Distribution-Devin
A Python package for Gaussian and Binomial probability distributions.
Installation
Run the following to install:
pip install Probability-Distribution-Devin
Usage
from Probability-Distribution-Devin import Gaussian, Binomial
# Create Gaussian and Binomial objects
gaussian = Gaussian(10, 7)
binomial = Binomial(0.4, 20)
# Calculate mean and standard deviation
print(gaussian.mean)
print(binomial.standard_deviation)
Development
For development, you can use virtualenv to create an isolated Python environment.
virtualenv venv
source venv/bin/activate
Install Probability-Distribution-Devin
in editable mode with:
pip install -e .
Testing
To run tests, install the package and run:
python -m unittest discover
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Probability-Distribution-Devin-0.1.tar.gz
.
File metadata
- Download URL: Probability-Distribution-Devin-0.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37697d005e05c1071bbfea9a52089fcba92abc4e7e4b32e9419853f8df32ea15 |
|
MD5 | 6ddc207039fd9da5cfada8d9761d6927 |
|
BLAKE2b-256 | 28dc3b0b2e30cc3586daf1fef04da61e776cf43fe70b950ef19e397ea3340eda |
File details
Details for the file Probability_Distribution_Devin-0.1-py3-none-any.whl
.
File metadata
- Download URL: Probability_Distribution_Devin-0.1-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f60be2eb342cdb30cb60cad07c77910ea7828d51fe46f23f9b02b46526212368 |
|
MD5 | cafcaaa5b9b0a3fe0f12d9321ccff60a |
|
BLAKE2b-256 | 91c361608d7fb2715b2d18fd4ad5f97105faca7ce1ee0eaa7e918149107b64d5 |