Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

lifetimes

lifetimes.readthedocs.io

  • Free plan
  • Linux
  • API

What the maker publishes

Customer lifetime value
The Gamma-Gamma submodel estimates average customer value, and the docs demonstrate combining it with a purchase model to estimate lifetime value. source
Customer status
The library can estimate a customer's probability of still being active and visualize it in a probability matrix. source
Data preparation
Utilities transform transaction-level records into frequency, recency, and age summary data. source
Data preparation
Utility functions transform transaction-level records into customer summary data and split data into calibration and holdout periods. source
Installation
The documentation gives `pip install lifetimes` as the installation command. source
Installation
The documented installation command is `pip install lifetimes`. source
License
The GitHub repository identifies the project as MIT licensed. source
Lifetime value
The Gamma-Gamma submodel estimates customer lifetime value and assumes monetary value is independent of purchase frequency. source
Maintenance status
The project repository was archived on June 28, 2024, and is read-only; its maintainers say they will not add features, improvements, or answer issues. source
Model assessment
The documentation shows comparing fitted-model simulations with actual purchases and checking predictions against a holdout period. source
Model assumption
The Gamma-Gamma model assumes monetary value and purchase frequency are unrelated, and the documentation recommends checking their correlation before using it. source
Product type
Lifetimes is a Python library for calculating customer lifetime value. source
Project status
The repository was archived on June 28, 2024, and its maintainers say they will not add features or answer issues there. source
Purchase prediction
The BG/NBD model predicts expected purchases from customer frequency, recency, and age data. source
Repeat purchase model
The quickstart demonstrates the BG/NBD model to estimate expected purchases from customer frequency, recency, and age data. source
Successor
The archived repository identifies PyMC-Marketing as a successor project. source
Successor
The repository points users to PyMC-Marketing as a successor project. source
Support
The documentation directs users to create an issue in the repository for questions, comments, and requests. source
Support
The documentation directs questions, comments, and requests to issues in the Lifetimes repository. source
Use cases
It can analyze repeat activity to predict website visits, hospital returns, app churn, repeat purchases, and customer lifetime value. source
Use cases
The documentation describes predicting repeat visits, patient returns, app churn, repeat purchases, and customer lifetime value. source
Visualization
The library includes plots for purchase counts, expected purchases, active probability, customer history, and transaction-rate heterogeneity. source
Visualizations
The library includes plots for purchase predictions, probability a customer remains active, transaction histories, and model comparisons. source
What it is
Lifetimes is a Python library for analyzing repeat customer activity and calculating customer lifetime value. source

Checked against the maker's pages on 11 Oct 2026.