Marketplace-Grade with the Stack
A real marketplace needs balanced books, receipts, trustworthy seller identity and product search. The Larz Stack covers all four.
A two-sided marketplace has needs a simple shop doesn't: money split between parties must reconcile, buyers want receipts, sellers need identity, and shoppers need search. The Larz Stack has a zero-dependency library for each.
Split payouts as balanced double-entry
from larz.contrib import ledger
ledger.enable(app)
# a $100 sale: seller gets 90, platform keeps a 10 fee
app.record_sale('Order 42', '100.00')
app.record_fee('Platform fee', '10.00')
app.ledger.is_balanced() # books reconcile, every timeReceipts, identity and search
from larz.contrib import pdf; pdf.enable(app)
app.receipt('R-42', items=[('Order 42', 1, '100.00')]) # buyer PDF
from larzid import Identity # self-certifying seller identity
from larzsearch import Index # BM25 product search, no serverTakeaways
- Model split payouts as double-entry with
larzledgerโ the books always balance. larzpdfgives buyers real receipts;larzidgives sellers verifiable identity;larzsearchadds product search.- See it all in the Larz Stack course.