Skip to content

simple_module_pythonA modular monolith for Python

FastAPI + SQLModel + Inertia.js + React. Plugin modules that compose at boot. No microservice tax, no API-client glue.

How the docs are organised

Try it in 60 seconds

bash
uv tool install simple_module_cli
smpy new myapp --yes
cd myapp
make dev          # API on :8000, Vite on :5050

Then in another terminal, inside myapp:

bash
smpy create-module orders --dest modules/orders
uv add ./modules/orders

That generates modules/orders/ with a ModuleMeta, a SQLModel table, contracts, a service, REST + Inertia endpoints, three React pages, locales, and a smoke test — all wired in once the dev server reloads. The full walkthrough is in Your first module.

Where to start

When conventions are ambiguous, the authoritative single-page docs (Framework conventions, Module authoring, E2E testing, Release playbook) are the source of truth.

Released under the MIT License.