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.0

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.0
File Size Uploaded
saas_maker-0.1.0.tar.gz 63.3 kB Details

Built distribution (wheel)

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

Total release size: 116.7 kB

Release files / saas_maker-0.1.0.tar.gz

Download URL saas_maker-0.1.0.tar.gz
Size 63.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d1efe9161b4fcba10e842b2a64e872597e69828b2e275d5f98935d98f830c917
BLAKE2b-256 checksum
How to use checksums
a93c37e2ef7dfce42a97e4d80f175271260ef41ee440e12dffa4616630884f89
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.0-py3-none-any.whl

Download URL saas_maker-0.1.0-py3-none-any.whl
Size 53.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12b3882fec0b4724b0a1259794880ec8e4c2b96a91d7eec3d507a9783514fc9e
BLAKE2b-256 checksum
How to use checksums
d9cac3b5010c72fe024d4812d1dec54d89e5ec908fa3a3c53c8f08c8336d9a3e
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

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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