This package already uploaded in pypi can be used to define probability distributions such Gaussian and Binomial as unique class Gaussian() and Binomial() objects.
The classes can read data from a txt file and calculates some statistical properties such as mean, standard deviationd as attributes of the object.
Each class object carries methods to plot histograms and bar plots.
To install the package use the following command:
$ pip install dsnd-distributions-1