Skip to content
Back to all 269 Research Tools & BuildsLast recorded check: 2026-11-21
Completely free to useOpen-source (OSI-approved license)Data and statistical analysis

lifelines (Survival Analysis in Python)

Created by Cameron Davidson-Pilon · lifelines Open Source Project (Independent Creator)

Complete open-source Python survival analysis library for Kaplan-Meier curves, Cox proportional hazards, and Aalen models

What This Tool Does

Created by Cameron Davidson-Pilon, lifelines brings intuitive, well-tested survival and time-to-event analysis to Python, including right/left/interval censoring, Kaplan-Meier plots with at-risk tables, Cox PH regression, time-varying covariates, and proportional hazard assumption checks.

What Makes It Useful or Distinctive

Generates publication-ready Kaplan-Meier survival plots with number-at-risk tables in two lines of Python.

How to Get Started Immediately

Install via `pip install lifelines`.

Access, Source Licensing & Clinical Intended Use

Cost & Access Classification
Completely free to use
None; completely free to use.
Source Code & License
MIT License
Open-source (OSI-approved license)
Intended Use & Regulatory Status
Educational & research use
Verify institutional compliance and local regulatory clearance before any patient-facing clinical use.
Technical Requirements
Local Installation / Package
Account required: No · Offline capable: Yes
Reference Scientific Publication (DOI)https://doi.org/10.21105/joss.01317
Open Cited Paper ↗

Connect This Tool to Your Research Workflow on Trace.Science

Find collaborators experienced with lifelines (Survival Analysis in Python), recruit contributors for a study using this tool, or cite it in your manuscript Methods section.

Launch & Source Links

Visit Project SiteView Source RepositoryDocumentation & Tutorials
Supported Platforms
Python
Target Audience
Biomedical researchersMedical studentsMedical AI & data scientists
Specialties
BiostatisticsOncologyCardiologyEpidemiologyClinical Research

Comparable Verified Tools

Cerebrarium

Interactive 3D human brain and neuroanatomy atlas built from research MRI and CT scans

Completely free to use · Proprietary free web educational platform (built from open research scan data)
Z-Anatomy

Open-source Blender-based 3D human anatomy atlas derived from BodyParts3D

Completely free to use · CC BY-SA 4.0 (3D models) / GPL-3.0 (Blender scripts)
HuBMAP Human Reference Atlas (HRA)

Multi-scale 3D spatial reference atlas of healthy human organs and single-cell tissue maps

Completely free to use · MIT License (UI & code) / CC BY 4.0 (Atlas models)
BigBrain & EBRAINS Siibra Explorer

Ultra-high-resolution 20-micrometer 3D histological model of the human brain

Completely free to use · Apache-2.0 (Siibra Explorer) / CC BY-NC-SA 4.0 (BigBrain dataset)