Overview

Mount pyRPC on your favorite web framework.

Adapters

Adapters integrate pyRPC with your server runtime. They:

  • expose a single HTTP endpoint (by default POST /rpc)
  • forward JSON-RPC payloads to the pyRPC interpreter
  • return JSON-RPC responses from your procedures

Available Adapters

  • FastAPI - Mount pyRPC on a FastAPI app
  • Flask - Mount pyRPC on a Flask app
  • Django - Mount pyRPC on a Django app
  • Standalone - Use the minimal ASGI app directly

Each adapter uses the same core registry of procedures registered with @rpc.