autobahn-python vs orpc
Python WebSocket and WAMP vs. TypeScript API toolkit
autobahn-python provides Python libraries for asynchronous WebSocket and WAMP applications, while orpc helps TypeScript teams define API contracts, implement server procedures, and make type-safe client calls. The main difference is protocol-focused networking in autobahn-python versus contract-first API development and integrations in orpc.

autobahn-python: Build WebSocket and WAMP Applications
A Python library for building asynchronous WebSocket clients and servers, plus WAMP applications with remote procedure calls and publish-subscribe messaging. It supports Twisted and asyncio and requires Python 3.11 or later.

orpc: Build End-to-End Type-Safe APIs
oRPC is a TypeScript toolkit for defining API contracts, implementing server procedures, and calling them with end-to-end type safety. It suits teams building TypeScript APIs that need OpenAPI compatibility and integrations with common frameworks and tools.
| autobahn-python | orpc | |
|---|---|---|
| Language | Python | TypeScript |
| License | — | MIT |
| Stars | 2.5k | 7 |
| Forks | 769 | 5 |
| Last analyzed | Oct 6, 2026 | Oct 3, 2026 |
Key differences
- autobahn-python is written in Python and supports Twisted and asyncio; orpc is a TypeScript toolkit for API development.
- autobahn-python focuses on WebSocket messaging and routed WAMP RPC and publish-subscribe; orpc focuses on shared API contracts, server procedures, and type-safe clients.
- autobahn-python requires Python 3.11 or later and WAMP applications need a router; orpc offers packages for framework integrations, schema conversion, rate limiting, and observability.
- autobahn-python's repository metadata lists its license as NOASSERTION, while its README describes it as MIT licensed; orpc lists its license as MIT.
- autobahn-python has 2.5k stars and 770 forks; orpc has 7 stars and 5 forks, figures that offer limited evidence about adoption and maintenance.
Choose autobahn-python if you…
- need Python WebSocket clients or servers with message, frame, or streaming APIs.
- want WAMP RPC and publish-subscribe with Twisted or asyncio.
- need WebSocket options such as TLS, proxies, compression, or WAMP serialization choices.
Choose orpc if you…
- want shared TypeScript API contracts connecting server implementations and client calls.
- need OpenAPI compatibility or generation, or integrations with frameworks such as Next.js or NestJS.
- use Zod, Valibot, or ArkType and want to connect schemas to JSON Schema support.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.