##ext-distributions
Package currently supports calculation and visualization of binomial and gaussian distributions
Installation
Use the package manager pip to install ext_distributions.
pip install ext-distributions
Usage Gaussian distribution
from ext_distributions import Gaussian
gaussian = Gaussian()
gaussian.read_data_file('filename')#The txt file should have one number (float) per line
gaussian.plot_histogram()#Output's a histogram of current data file
gaussian.plot_histogram_pdf()#plot the normalized histogram of the data and a plot of the probability density function along the same range
Usage Binomial distribution
from ext_distributions import Binomial
binomial = Binomial()
binomial.read_data_file('filename')#The txt file should should contain only 0 or 1 per line(1=positive case)
binomial.replace_stats_with_data()#updates mean and standard deviation(do use it after reading a text file)
binomial.plot_bar()#Output's a bargraph of current data file
binomial.plot_bar_pdf()#Plot's the pdf of the binomial distribution
Usage Other
#Adding of two gaussian objects
gaussian_three = gaussian_one + gaussian_two
#Adding of two binomial objects with same probability(p) value
binomial_three = binomial_one + binomial_two
License
Metadata
Release files for ext-distributions 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ext-distributions-1.1.tar.gz | 4.1 kB | Without provenance | Details for ext-distributions-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ext_distributions-1.1-py3-none-any.whl | Python 3 | none | any | Details for ext_distributions-1.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / ext-distributions-1.1.tar.gz
| Download URL | ext-distributions-1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7150a7f83694e227f3c488c13d1c2f35d0ee1f4d38af424881404ad2b688ead
|
|
BLAKE2b-256 checksum How to use checksums |
475af1224eca2e3a96c3119db4a5f93f95a365e6341daa0fb32217adf0b621ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.3
|
Release files / ext_distributions-1.1-py3-none-any.whl
| Download URL | ext_distributions-1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42c14d03c6f89e0447eaa451ce5d2d56b9963dc1f1b0e9166a9332c8f543e7dc
|
|
BLAKE2b-256 checksum How to use checksums |
6a616acb714961d8d6c987da6d77bb26d46f87abaa7bc86349292bd7c3a7a680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.3
|
Security for ext-distributions 1.1
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.