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

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.1
File Size Uploaded
saas_maker-0.1.1.tar.gz 63.6 kB Details

Built distribution (wheel)

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

Total release size: 117.2 kB

Release files / saas_maker-0.1.1.tar.gz

Download URL saas_maker-0.1.1.tar.gz
Size 63.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fab4f73f2c8813a74e91c064ff02d56dba160d9a5af9288baa39d64fec3615e4
BLAKE2b-256 checksum
How to use checksums
2677bdb4b4ca2d384b6616c031153e978bbd8e0f49c5cde88b9c42d905386de5
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.1-py3-none-any.whl

Download URL saas_maker-0.1.1-py3-none-any.whl
Size 53.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29bd9bc2a48614a94926a5dd60ec6022df6439b64e96e9026c6b528d26de9119
BLAKE2b-256 checksum
How to use checksums
d2af82f81e4fe5176a5da0902d78796f3087908310c01144d471b7d126ba9754
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

This release

0.1.1 This release

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