Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distributions_hlowy-0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

distributions_hlowy-0.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for distributions_hlowy-0.1.tar.gz
Algorithm Hash digest
SHA256 4ddd63fbb4f46809fbc0b613cb1c1637dc03eda110eab3da0d133d8f15dbb884
MD5 57eae179b53f08f0a1d3eaa7939529a7
BLAKE2b-256 c4a97aeaebb77f402665ab89f2000efe101ebeac494ae0db6580b6625f7fdd94

See more details on using hashes here.

File details

Details for the file distributions_hlowy-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for distributions_hlowy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97aa9c20e158611444c37b1d5c83d51e05f3fd0fdd16da5cc16e188bb8417e36
MD5 08c5e6375151ed7cd2549fc55238e82d
BLAKE2b-256 a9f38d9689ab077ba05630899e2e182c75a94e281d7a85e5511e439ba6e8127f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page