CamDavidsonPilon Lifelines by CamDavidsonPilon

Survival analysis in Python

survival-analysispythonstatisticsdata-sciencemaximum-likelihoodreliability-analysiscox-regression
Verdict 67/100 health $4.13/mo cheapest, hetzner 2/5 setup difficulty Last release 4 months ago

Self-host CamDavidsonPilon Lifelines on hetzner CAX11 for $4.13/mo.

Health score
67 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
2 /5
Docker + read README
GitHub stars
2.6k
566 forks

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.

activity
42
maturity
100
community
86
security
70
sustainability
100
adoption
32

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
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 age12.8 yearssince Aug 2013
Last commit4 months agoMar 6, 2026
Releases shipped127last: 4 months ago
Funding links1declared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
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.

Frequently asked questions

Last verified . Health scores and costs are computed from public data.