CamDavidsonPilon/lifelines
Survival analysis in Python observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 70
- Release rhythm 73
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28
- age_days: 4754
- days_rel: 181
- days_push: 180
- n_releases_24m: 4
Adoption not part of the score
2606 stars · 579 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
lifelines is a pure Python library for survival analysis, including Kaplan-Meier and Nelson-Aalen estimators and Cox regression models. It helps analyze time-to-event data with censored observations across medicine, reliability engineering, and business analytics.
Use cases
- estimate customer churn or subscriber lifetimes
- fit a Cox proportional hazards regression model
- plot Kaplan-Meier survival curves
- analyze time-to-event data with censored observations
- reliability analysis of equipment failure times
- compare survival between groups in an A/B test
When to choose
- you need survival analysis in pure Python with a pandas-friendly API
- you want Kaplan-Meier, Nelson-Aalen, and Cox regression in one library
- you're doing medical, actuarial, or SaaS lifetime analysis
When to avoid
- you need Bayesian survival models or heavy GPU-accelerated computation
- you need R's full survival ecosystem features
- your problem isn't time-to-event modeling
Facets
library · maturity stable
data-science math data-science healthcare analytics python survival-analysis kaplan-meier cox-regression reliability-analysis time-to-event censored-data statistics
2 sources
- readme: https://github.com/CamDavidsonPilon/lifelines · fetched 2026-08-28 · 4f23921b437e
- registry_pypi: https://pypi.org/pypi/lifelines/json · fetched 2026-08-29 · 574b7915ae01
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CamDavidsonPilon/lifelines | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="CamDavidsonPilon/lifelines")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem