Larz › SaaS revenue analytics in Python

Your revenue metrics, self-hosted

MRR, churn and LTV shouldn't require a third-party analytics SaaS reading your Stripe. Larz computes them from your own data.

pip install larz
import larz.analytics as analytics
analytics.enable(app, token="secret")     # -> /larz/admin/revenue

m = app.money.metrics()
# {"mrr_cents":..., "arr_cents":..., "arpu_cents":..., "ltv_cents":..., "churn_rate":...}

QuickstartGitHubAI course

What you get

It's your data, in your app, on your server — no external analytics platform, no monthly fee.

FAQ

Do I need Baremetrics or ProfitWell?

No — Larz computes MRR, churn, ARPU and LTV from your own payment data and serves the dashboard itself.

How is churn calculated?

It's estimated from subscriptions dropped after failed renewals (dunning) over the trailing 30 days; LTV follows as ARPU ÷ churn.