Larz › Python subscription billing

Subscription billing in Python, done right

Recurring revenue with trials, renewals, invoices and a customer portal — without gluing three libraries together.

pip install larz
app.money.plan("pro", "$9/mo", features=["A","B"], trial_days=7)

@app.plan("pro")
@app.get("/dashboard")
def dash(req): ...

QuickstartGitHubFree course

The whole lifecycle is built in

FeatureHow
Free trialtrial_days=7
Renewalauto — subscription expires and re-prompts
Cancelapp.money.cancel(subject, "plan:pro")
Invoices/receiptsrecorded per payment, shown in the portal
Customer portal/larz/account — no code
Events@app.money.on_grant / on_revoke

Combine on_grant with the scheduler and email for renewal reminders and dunning.

FAQ

How do I bill subscriptions in Python?

Define a plan with app.money.plan(...), gate routes with @app.plan(...). Larz handles trials, renewals, cancellation, invoices and a customer portal.

Is there a customer portal?

Yes — Larz serves /larz/account where customers manage their subscription, view invoices and top up credits, with no code from you.