Modular architecture
Controllers, providers, modules, and DI that scale with your team.
Build modular backends, typed actions, and React UIs from one codebase.

Nestipy brings NestJS‑style architecture to Python and adds a web layer that compiles Python UI to React. You write services and UI in one language and ship both sides with typed clients.
from nestipy.common import Controller, Get, Module
@Controller("/api")
class AppController:
@Get("/ping")
async def ping(self) -> dict:
return {"ok": True}
@Module(controllers=[AppController])
class AppModule:
passfrom nestipy.common import Injectable
from nestipy.web import action
@Injectable()
class AppActions:
@action()
async def hello(self, name: str) -> str:
return f"Hello {name}"from nestipy.web import component, h
@component
def Page():
return h.div(
h.h1("Nestipy Web"),
h.p("Python-first UI"),
class_name="p-8",
)python main.pynestipy run web:init
nestipy run web:dev --vite --install --proxy http://127.0.0.1:8001