Markets and trading · Independent · 24 Oct 2026

pymc-labs/pymc-marketing

Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more.

← Markets and trading

In simple English

This tool helps you figure out which marketing campaigns actually bring in money. It uses advanced math to predict customer loyalty and the best way to spend your advertising budget. You can run it for free on your own computer, but you need to know how to write Python code. Setting it up takes some technical skill and a machine with decent memory. The project is actively maintained and free to use commercially.

What it is

A Python library built on top of PyMC for marketing analytics like media mix modeling and customer lifetime value. It provides statistical models to estimate the return on ad spend and predict customer purchase behavior.

What it is good for

Data scientists and technical founders who want to analyze advertising performance and forecast customer value without paying for expensive enterprise analytics software.

Stars1.3k
LicenceApache-2.0
Latest1.3.0 (2026-10-22)checked 24 Oct 2026
Last code change2026-10-23
Written inPython
Setup effort
4 / 5
Payoff
4 / 5
Good
  • Includes models for media mix modeling, customer lifetime value, and choice analysis.
  • Allows custom priors so you can add your own business knowledge into the models.
  • Free for commercial use under an open-source licence.
Watch for
  • Requires strong programming skills in Python and an understanding of statistics.
  • Heavy statistical sampling can demand significant memory and processor time.
  • Documentation assumes prior knowledge of Bayesian statistics and data science.
Replaces

manual spreadsheets and commercial marketing mix platforms

Works well with

jupyter

Similar repositories
  • facebookexperimental/Robyn1.5k stars

    Meta's open-source automated marketing mix modeling library using ridge regression and evolutionary algorithms.

  • google/meridian1.6k stars

    Google's open-source framework for Bayesian media mix modeling built in PyJAX.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
python -m venv venv
source venv/bin/activate
pip install pymc-marketing

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Marketing & Growth › Conversion & Growth Analytics › Attribution.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.