Skip to content
Python · NestJS-style · Fullstack

Build modular Python backends. Ship typed frontends.

Nestipy brings NestJS architecture to Python — typed controllers, DI and GraphQL — with a first-class Inertia.js web layer and a generated TypeScript client.

$pip install nestipy→ then nestipy start --dev --web
  • FastAPI
  • BlackSheep
  • Inertia.js
  • React
  • Vite
  • WebSockets
  • gRPC
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:
    pass

Define controllers and Inertia pages in Python — Nestipy generates the typed TypeScript client that wires your frontend to them.

Why Nestipy

Fullstack by design

01

Modular architecture

Controllers, providers, modules, and DI that scale with your team.

02

Inertia.js frontends

Server-driven React/Vue/Svelte pages — deferred props, partial reloads, SSR.

03

Typed TypeScript client

Generate a fully typed TS client from your controllers with client:gen.

04

Fast adapters

Run on FastAPI or BlackSheep without changing a line of your design.

05

GraphQL ready

First-class Strawberry GraphQL support, batteries included.

06

Realtime & microservices

WebSocket gateways plus Redis, NATS, MQTT, RabbitMQ and gRPC transports.

Start shipping in minutes.

Scaffold a project, run the dev server, and build both sides from Python.

Released under the MIT License.