CamDavidsonPilon Lifelines by CamDavidsonPilon
Survival analysis in Python
About CamDavidsonPilon Lifelines
From the project's README at github.com/CamDavidsonPilon/lifelines. Lightly cleaned for readability; for the full source see the upstream repo.
[](https://badge.fury.io/py/lifelines) [](https://conda.anaconda.org/conda-forge) [](https://zenodo.org/badge/latestdoi/12420595)
What is survival analysis and why should I learn it? Survival analysis was originally developed and applied heavily by the actuarial and medical community. Its purpose was to answer why do events occur now versus later under uncertainty (where events might refer to deaths, disease remission, etc.). This is great for researchers who are interested in measuring lifetimes: they can answer questions like what factors might influence deaths?
But outside of medicine and actuarial science, there are many other interesting and exciting applications of survival analysis. For example: SaaS providers are interested in measuring subscriber lifetimes, or time to some first action inventory stock out is a censoring event for true "demand" of a good. sociologists are interested in measuring political parties' lifetimes, or relationships, or marriages A/B tests to determine how long it takes different groups to perform an action.
lifelines is a pure Python implementation of the best parts of survival analysis. Documentation and intro to sur
Health score breakdown
6-dimension composite. See methodology for formula and weights.
Adoption signals
Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.
| Signal | Value | Source |
|---|---|---|
| GitHub stars | 2.6k | github.com/CamDavidsonPilon/lifelines |
| GitHub forks | 566 | github.com/CamDavidsonPilon/lifelines |
| PYPI downloads (last month) | 2.5M | lifelines |
Release & maintenance
Is this project actively maintained, or about to die? Check the recency of last commit and last release.
| Project age | 12.8 years | since Aug 2013 |
| Last commit | 4 months ago | Mar 6, 2026 |
| Releases shipped | 127 | last: 4 months ago |
| Funding links | 1 | declared by maintainers |
Self-hosting cost across providers
Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.
| Provider | Plan | Specs | Monthly | |
|---|---|---|---|---|
| hetzner | CAX11 | 2c · 4GB · 40GB | $4.13 USD | Deploy → |
| vultr | VC2 | 1c · 1GB · 25GB | $5 USD | Deploy → |
| linode | Nanode 1GB | 1c · 1GB · 25GB | $5.12 USD | Deploy → |
| digitalocean | Basic Regular 1GB | 1c · 1GB · 25GB | $6 USD | Deploy → |
What people say on Hacker News
Ready to self-host CamDavidsonPilon Lifelines?
Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.
Data last refreshed Jun 21, 2026.
Similar open-source projects
Projects in our directory that replace the same SaaS or share topics with CamDavidsonPilon Lifelines.