autobahn
WebSocket client & server library, WAMP real-time framework
Decision gist · record as of 2026-08-14
Yes. Autobahn is a stable, actively maintained library with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need WebSocket or WAMP for real-time messaging. The 9 dependencies add moderate friction, but wheels are available for modern Python versions. Be aware that versions after v25.6.1 may include AI-assisted code—review the AI policy if that is a concern for your project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; Twisted or asyncio event loop must be configured to run the server.
- Medium install friction due to 9 runtime dependencies including cryptography and cffi, but wheels are available for modern Python versions (3.11–3.14) across common platforms.
- Maintenance is active with a release 30 days old and 2541 repository stars.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-07-15 (30 days) · last repo commit 2026-07-15 · 2,541 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,114,678 downloads/mo, #1,783 on PyPI
Alternatives
Verify before relying
pip install autobahn
from autobahn.twisted.websocket import WebSocketServerProtocol
class MyServerProtocol(WebSocketServerProtocol):
def onMessage(self, payload, isBinary):
self.sendMessage(payload, isBinary)- Performance characteristics and throughput limits under typical production loads.
- Compatibility guarantees with specific versions of Twisted and asyncio.
- Details on the AI policy change in versions after v25.6.1 and its impact on code quality or licensing.
What it is and what it does
Autobahn is a mature WebSocket and WAMP framework for Python that runs on both Twisted and asyncio. It implements RFC6455 WebSocket and the WAMP protocol, which layers remote procedure calls and publish-subscribe messaging on top of WebSocket. You use it to build real-time client and server applications that need bidirectional communication—either plain WebSocket for simple messaging or WAMP when you need structured RPC and pub-sub patterns. The library supports both CPython and PyPy, includes TLS and proxy support, and passes the Autobahn Testsuite for standards conformance.
The package has 9 runtime dependencies, including cryptography, cffi, msgpack, and cbor2, which add moderate install friction but provide serialization and security features out of the box. It requires Python 3.11 or later and is actively maintained with recent releases. The MIT license is permissive for commercial use.
Use it for
- Build real-time chat or notification systems where clients and servers exchange messages over a persistent WebSocket connection.
- Implement distributed RPC and pub-sub messaging using WAMP when you need a routed protocol with a central message broker.
- Create live dashboards or monitoring tools that push updates to multiple clients simultaneously without polling.
- Develop IoT applications where devices communicate asynchronously with a central server or peer-to-peer.
- Integrate WebSocket support into existing Twisted or asyncio applications for bidirectional communication.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Autobahn is a stable, actively maintained library with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need WebSocket or WAMP for real-time messaging. The 9 dependencies add moderate friction, but wheels are available for modern Python versions. Be aware that versions after v25.6.1 may include AI-assisted code—review the AI policy if that is a concern for your project.
Install
autobahn on PyPI
Before you install
Medium install friction due to 9 runtime dependencies including cryptography and cffi, but wheels are available for modern Python versions (3.11–3.14) across common platforms. Maintenance is active with a release 30 days old and 2541 repository stars.
Requires Python 3.11 or later; Twisted or asyncio event loop must be configured to run the server.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install autobahn
from autobahn.twisted.websocket import WebSocketServerProtocol
class MyServerProtocol(WebSocketServerProtocol):
def onMessage(self, payload, isBinary):
self.sendMessage(payload, isBinary)
Verify before relying
- Performance characteristics and throughput limits under typical production loads.
- Compatibility guarantees with specific versions of Twisted and asyncio.
- Details on the AI policy change in versions after v25.6.1 and its impact on code quality or licensing.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 9 packagescbor2cfficryptographyhyperlinkimportlib-resourcesmsgpacktxaiou-msgpack-pythonujson |
| Maintenance | Actively maintained 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,114,678 / month, #1,783 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: No Input/Output (Daemon)Framework :: TwistedIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: InternetTopic :: Internet :: WWW/HTTPTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Object BrokeringTopic :: System :: Distributed Computing |
Evidence: autobahn-26.7.1-cp311-cp311-macosx_15_0_arm64.whl; autobahn-26.7.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; autobahn-26.7.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; autobahn-26.7.1-cp311-cp311-musllinux_1_2_aarch64.whl; autobahn-26.7.1-cp311-cp311-musllinux_1_2_x86_64.whl; autobahn-26.7.1-cp311-cp311-win_amd64.whl; autobahn-26.7.1-cp312-cp312-macosx_15_0_arm64.whl; autobahn-26.7.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; autobahn-26.7.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; autobahn-26.7.1-cp312-cp312-musllinux_1_2_aarch64.whl; autobahn-26.7.1-cp312-cp312-musllinux_1_2_x86_64.whl; autobahn-26.7.1-cp312-cp312-win_amd64.whl; autobahn-26.7.1-cp313-cp313-macosx_15_0_arm64.whl; autobahn-26.7.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; autobahn-26.7.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; autobahn-26.7.1-cp313-cp313-musllinux_1_2_aarch64.whl; autobahn-26.7.1-cp313-cp313-musllinux_1_2_x86_64.whl; autobahn-26.7.1-cp313-cp313-win_amd64.whl; autobahn-26.7.1-cp314-cp314-macosx_15_0_arm64.whl; autobahn-26.7.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “wamp messaging protocol”
- autobahnAutobahn provides WebSocket and WAMP (Web Application Messaging…
- gevent-websocketProvides WebSocket support for gevent-based WSGI servers, enabling…
- python-qpid-protonProvides Python bindings to Qpid Proton, an AMQP 1.0 messaging…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also ws4py · Twisted · python-engineio · wsproto · wslink · trio-websocket · Flask-SocketIO · websocket · gevent-websocket · daphne