Skip to main content

Reliability Engineering toolkit for Python

Project description


PyPI version Documentation Status Actions Status Actions Status Scc Count Badge Downloads LGPLv3 license DOI Donate Survey

reliability is a Python library for reliability engineering and survival analysis. It significantly extends the functionality of scipy.stats and also includes many specialist tools that are otherwise only available in proprietary software.


Detailed documentation and examples are available at readthedocs.

Key features

  • Fitting probability distributions to data including right censored data
  • Fitting Weibull mixture models and Weibull Competing risks models
  • Fitting Weibull Defective Subpopulation (DS) models, Weibull Zero Inflated (ZI) models, and Weibull Defective Subpopulation Zero Inflated (DSZI) models
  • Calculating the probability of failure for stress-strength interference between any combination of the supported distributions
  • Support for Exponential, Weibull, Gamma, Gumbel, Normal, Lognormal, Loglogistic, and Beta probability distributions
  • Mean residual life, quantiles, descriptive statistics summaries, random sampling from distributions
  • Plots of probability density function (PDF), cumulative distribution function (CDF), survival function (SF), hazard function (HF), and cumulative hazard function (CHF)
  • Easy creation of distribution objects. Eg. dist = Weibull_Distribution(alpha=4,beta=2)
  • Non-parametric estimation of survival function using Kaplan-Meier, Nelson-Aalen, and Rank Adjustment
  • Goodness of fit tests (AICc, BIC, AD, Log-likelihood)
  • Probability plots on probability paper for all supported distributions
  • Quantile-Quantile plots and Probability-Probability plots
  • Reliability growth, optimal replacement time, sequential sampling charts, similar distributions, reliability test planners
  • Interactive matplotlib functions including crosshairs and distribution explorer
  • Physics of Failure (SN diagram, stress-strain, fracture mechanics, creep)
  • Accelerated Life Testing Models (24) comprising of 4 distributions (Weibull, Exponential, Normal, Lognormal) and 6 life-stress models (Exponential, Eyring, Power, Dual-Exponential, Dual-Power, Power-Exponential).
  • Mean cumulative function and ROCOF for repairable systems

Installation and upgrading

To install reliability for the first time, open your command prompt and type:

pip install reliability

To upgrade a previous installation of reliability to the most recent version, open your command prompt and type:

pip install --upgrade reliability

If you would like to receive an email notification when a new release of reliability is uploaded to PyPI, provides this service for free.


If you find any errors, have any suggestions, or would like to request that something be added, please email

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

reliability-0.8.10.tar.gz (267.0 kB view hashes)

Uploaded source

Built Distribution

reliability-0.8.10-py3-none-any.whl (256.5 kB view hashes)

Uploaded py3

Supported by

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