The larz CLI
Start a complete, runnable project with one command.
larz new myapp --template saas class=com># a complete SaaS project
larz new --list class=com># list templates
cd myapp
pip install -r requirements.txt
python3 app.py class=com># http://127.0.0.1:8000
python3 tests/test_app.py
Templates
- minimal โ a money-native app with a Pro plan and a paywall.
- api โ a paid JSON API: validation, API keys, per-call metering, auto docs.
- saas โ accounts, pricing-as-code, plan limits and a revenue dashboard.
- ai โ a monetized AI app: per-token metering, BYOK, credit packs.
- marketplace โ listings, per-item checkout and split payouts.
Each template generates app.py, requirements.txt,
.env.example, .gitignore, a tests/test_app.py smoke test
and a README.md โ and ships passing.
Other commands
larz run [app.py] class=com># run the dev server
larz routes [app.py] class=com># print the route table (with [paid]/[metered]/[plan]/WS tags)
larz version
The CLI is available as larz ... (console script) or
python3 -m larz .... Guide:
create a Python web app fast.