Introduction

Core concepts that power pyRPC.

Concepts

Before diving into advanced usage, it helps to understand how pyRPC thinks about RPC.

What You'll Learn

  • Mental Model - Procedures as typed functions, no OpenAPI middle layer
  • Procedures - Queries vs mutations, the registry, and how kinds become client hooks
  • Architecture - Registry, introspection, config, and contract under the hood
  • Error Handling - Structured errors that flow from server to client

Why This Matters

pyRPC is built for developers who want the safety of a typed backend (Python) with the speed of a modern frontend (TypeScript). By eliminating the "OpenAPI gap", we allow you to focus on your product logic rather than API plumbing.