Skip to main content

saas-maker CLI

uvx saas-maker new <name> scaffolds a configured multi-tenant SaaS from the saas-maker template (FastAPI + SQLModel

  • PostgreSQL backend, React 19 + Vite + shadcn/ui frontend, admin panel, Kamal deploys). saas-maker generate module <name> adds a tenant-scoped CRUD — table, API, page, sidebar entry and tests — to a generated project.
uvx saas-maker new my-saas                 # wizard → branding → .envs → uv/npm/createdb/migrate → git
uvx saas-maker new my-saas --defaults      # non-interactive, placeholder deploy config
uvx saas-maker new my-saas --skip-provision

cd my-saas
uvx saas-maker generate module invoice \
  --label Factura --label-plural Facturas --feminine \
  --fields "number:str:Número,amount:float:Monto,notes:text?:Notas,due:date?:Vence" \
  --status "draft=Borrador,sent=Enviada,paid=Pagada"

generate module

  • --fields "name:kind[?][:Label],…" — kinds str text int float bool date datetime; ? = optional. The first field must be a required str: it is the title, the searchable column and the delete confirmation.
  • --status "value=Label,…" — adds a status column, list filter and badge.
  • --label / --label-plural / --feminine — Spanish UI copy ("Nueva factura").
  • Without --fields the command asks; --defaults skips the questions.

What it writes (for invoice):

Backend Frontend
app/models/invoice.py src/types/api.ts (Invoice types, at // generator:types)
app/schemas/invoice.py src/hooks/useInvoices.ts
app/services/invoice_service.py src/components/features/invoices/ (list, form, delete, badge)
app/controllers/invoices.py src/pages/InvoicesPage.tsx + test
alembic/versions/<rev>_add_invoices_table.py src/router/index.tsx, Sidebar.tsx (at the anchors)
tests/test_invoices.py

Every service function filters by organization_id; a row of another organization answers 404. Read: any member. Write: admin or owner.

Generator anchors

generate module inserts code before these comment lines; projects generated before they existed can add them by hand:

  • backend/app/main.py: # generator:tenant-routers (after the last include_router)
  • backend/app/models/__init__.py: # generator:models (inside __all__)
  • frontend/src/router/index.tsx: // generator:route-imports, // generator:routes
  • frontend/src/components/layout/Sidebar.tsx: // generator:nav (inside navItems)
  • frontend/src/types/api.ts: // generator:types (end of file)

Development

uv sync && uv run pytest
uv run saas-maker new demo --defaults --skip-provision --source ~/path/to/saas-maker

Apache-2.0.

Release files for saas-maker 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saas-maker 0.1.2
File Size Uploaded
saas_maker-0.1.2.tar.gz 64.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for saas-maker 0.1.2
File Interpreter ABI Platform
saas_maker-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 118.8 kB

Release files / saas_maker-0.1.2.tar.gz

Download URL saas_maker-0.1.2.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0dabc5cb4aa48b704118b988a9b772d42e4b65fb66f40dcda126145ab599cbf4
BLAKE2b-256 checksum
How to use checksums
eeed7ef52dfd8e57c20c9bd22c6a9480cdc24b1a851ea300cb965dd6ce52c80f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / saas_maker-0.1.2-py3-none-any.whl

Download URL saas_maker-0.1.2-py3-none-any.whl
Size 54.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e78a0f3f98762fb16cf7bbc5453f90195d6f762d1050e60894b468e211ccc4bb
BLAKE2b-256 checksum
How to use checksums
933f81c81d02ce03cb9f4bbefd31b574249b026e1c29c96ea3e764e491f76f5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page