Gaussian distributions
Project description
Distributions
A Python package for calculating and visualizing Gaussian and Binomial probability distributions.
Installation
You can install this package locally using pip:
pip install .
Actually, for a standard Python project, the README.md should be placed in the root directory of your project (the top-level folder), not inside the distributions subfolder where your code lives.
Proper Project Structure
Your structure should look like this to ensure PyPI and pip can find everything correctly:
5a_binomial_package_hlowy/ (Root Folder)
README.md
setup.py / setup.cfg
LICENSE.txt
distributions_hlowy/
__init__.py
Gaussiandistribution.py
Generaldistribution.py
Binomialdistribution.py
Suggested README.md Content
Here is a brief, professional template for your file. You can save this as README.md.
Markdown
# Distributions
A Python package for calculating and visualizing Gaussian and Binomial probability distributions.
## Installation
You can install this package locally using pip:
```bash
pip install .
# Features:
- Gaussian Distribution: Calculate mean, standard deviation, and Probability Density Function (PDF).
- Binomial Distribution: Calculate mean, standard deviation, and PDF for discrete trials.
- Visualization: Generate histograms and bar charts for data and probability functions using Matplotlib.
- Math Operations: Supports adding two distributions of the same type together.
# Usage:
from distributions import Gaussian, Binomial
# Work with Gaussian
g = Gaussian(25, 2)
print(g.pdf(25))
# Work with Binomial
b = Binomial(0.5, 20)
b.read_data_file('numbers_binomial.txt')
b.replace_stats_with_data()
b.plot_bar()
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file distributions_hlowy-0.1.tar.gz.
File metadata
- Download URL: distributions_hlowy-0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ddd63fbb4f46809fbc0b613cb1c1637dc03eda110eab3da0d133d8f15dbb884
|
|
| MD5 |
57eae179b53f08f0a1d3eaa7939529a7
|
|
| BLAKE2b-256 |
c4a97aeaebb77f402665ab89f2000efe101ebeac494ae0db6580b6625f7fdd94
|
File details
Details for the file distributions_hlowy-0.1-py3-none-any.whl.
File metadata
- Download URL: distributions_hlowy-0.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97aa9c20e158611444c37b1d5c83d51e05f3fd0fdd16da5cc16e188bb8417e36
|
|
| MD5 |
08c5e6375151ed7cd2549fc55238e82d
|
|
| BLAKE2b-256 |
a9f38d9689ab077ba05630899e2e182c75a94e281d7a85e5511e439ba6e8127f
|