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| 0 | 1 | 0 | 0 |
| 0.7.2 | 0 | 0 | 1 | 0 | 0 |
| 0.7.1 | 0 | 0 | 1 | 0 | 0 |
| 0.7.0 | 0 | 0 | 1 | 0 | 0 |
| 0.6.5 | 0 | 0 | 1 | 0 | 0 |
| 0.6.4 | 0 | 0 | 1 | 0 | 0 |
| 0.6.3 | 0 | 0 | 1 | 0 | 0 |
| 0.5.14 | 0 | 0 | 1 | 0 | 0 |
| 0.5.9 | 0 | 0 | 1 | 0 | 0 |
| 0.5.8 | 0 | 0 | 1 | 0 | 0 |
| 0.5.5 | 0 | 0 | 1 | 0 | 0 |
| 0.5.2 | 0 | 0 | 1 | 0 | 0 |
| 0.5.1 | 0 | 0 | 1 | 0 | 0 |
| 0.5.0 | 0 | 0 | 1 | 0 | 0 |
| 0.4.10 | 0 | 0 | 1 | 0 | 0 |
| 0.4.3 | 0 | 0 | 1 | 0 | 0 |
| 0.4.2 | 0 | 0 | 1 | 0 | 0 |
| 0.4.1 | 0 | 0 | 1 | 0 | 0 |
| 0.4.0 | 0 | 0 | 1 | 0 | 0 |
| 0.3.2 | 0 | 0 | 1 | 0 | 0 |
| 0.3.1 | 0 | 0 | 1 | 0 | 0 |
25.10.2 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseWebSocket & WAMP for Python on Twisted and asyncio.
Quick Links: Source Code - Documentation - WebSocket Examples - WAMP Examples Community: Forum - StackOverflow - Twitter - IRC #autobahn/chat.freenode.net Companion Projects: Autobahn|JS - Autobahn|Cpp - Autobahn|Testsuite - Crossbar.io - WAMP
Autobahn|Python is a subproject of Autobahn and provides open-source implementations of
for Python 3.7+ and running on Twisted and asyncio.
You can use Autobahn|Python to create clients and servers in Python speaking just plain WebSocket or WAMP.
WebSocket allows bidirectional real-time messaging on the Web and beyond, while WAMP adds real-time application communication on top of WebSocket.
WAMP provides asynchronous Remote Procedure Calls and Publish & Subscribe for applications in one protocol running over WebSocket. WAMP is a routed protocol, so you need a WAMP Router to connect your Autobahn|Python based clients. We provide Crossbar.io, but there are other options as well.
Note
Autobahn|Python up to version v19.11.2 supported Python 2 and 3.4+, and up to version v20.7.1 supported Python 3.5+, and up to version v21.2.1 supported Python 3.6+.
IMPORTANT: A Note on Upcoming Policy Changes Regarding AI-Assisted Content
Up to and including release v25.6.1, this project contains no code or documentation generated with the assistance of AI tools. This version represents the final release under our historical contribution policy. Starting with future versions (after release v25.6.1), our contribution policy will change. Subsequent releases MAY contain code or documentation created with AI assistance.
We urge all users and contributors to review our AI Policy. This document details:
This policy was established following an open community discussion, which you can review on GitHub issue #1663.
We are providing this transparent notice to enable you to make an informed decision. If our new AI policy is incompatible with your own (or your organization's) development practices or risk tolerance, please take this into consideration when deciding whether to upgrade beyond version v25.6.1.
To give you a first impression, here are two examples. We have lot more in the repo.
Here is a simple WebSocket Echo Server that will echo back any WebSocket message received:
from autobahn.twisted.websocket import WebSocketServerProtocol
# or: from autobahn.asyncio.websocket import WebSocketServerProtocol
class MyServerProtocol(WebSocketServerProtocol):
def onConnect(self, request):
print("Client connecting: {}".format(request.peer))
def onOpen(self):
print("WebSocket connection open.")
def onMessage(self, payload, isBinary):
if isBinary:
print("Binary message received: {} bytes".format(len(payload)))
else:
print("Text message received: {}".format(payload.decode('utf8')))
# echo back message verbatim
self.sendMessage(payload, isBinary)
def onClose(self, wasClean, code, reason):
print("WebSocket connection closed: {}".format(reason))
To actually run above server protocol, you need some lines of boilerplate.
Here is a WAMP Application Component that performs all four types of actions that WAMP provides:
from autobahn.twisted.wamp import ApplicationSession
# or: from autobahn.asyncio.wamp import ApplicationSession
class MyComponent(ApplicationSession):
@inlineCallbacks
def onJoin(self, details):
# 1. subscribe to a topic so we receive events
def onevent(msg):
print("Got event: {}".format(msg))
yield self.subscribe(onevent, 'com.myapp.hello')
# 2. publish an event to a topic
self.publish('com.myapp.hello', 'Hello, world!')
# 3. register a procedure for remote calling
def add2(x, y):
return x + y
self.register(add2, 'com.myapp.add2')
# 4. call a remote procedure
res = yield self.call('com.myapp.add2', 2, 3)
print("Got result: {}".format(res))
Above code will work on Twisted and asyncio by changing a single
line (the base class of MyComponent). To actually run above
application component, you need some lines of
boilerplate
and a
WAMP Router.
The Autobahn|Python OSS project:
*: for commercial users, typedef int GmbH (Germany), original creator and active maintainer of Autobahn, Crossbar.io and WAMP provides production grade, optimized and supported Docker images based on RHEL 9 and Debian 12, including complete SBOM for both the base system and full Python application run-time environment based on CycloneDX v1.6 in JSON format and as a audit-level PDF/A document fulfilling strict cybersecurity requirements addressing e.g. EU CRA and BSI TR-03183.
Autobahn|Python provides comprehensive binary wheel coverage for all major platforms and Python implementations.
autobahn-25.9.1.tar.gz
autobahn-25.9.1-py3-none-any.whl
Note: The pure Python wheel cannot include NVX (Native Vector Extensions) optimizations and will fall back to pure Python implementations. This provides maximum compatibility but slower performance compared to platform-specific wheels with native CFFI extensions.
Available for x86_64 architecture with native CFFI extensions:
autobahn-25.9.1-cp311-cp311-linux_x86_64.whlautobahn-25.9.1-cp312-cp312-linux_x86_64.whlautobahn-25.9.1-cp313-cp313-linux_x86_64.whlautobahn-25.9.1-cp314-cp314-linux_x86_64.whlautobahn-25.9.1-pp311-pypy311_pp73-linux_x86_64.whlAvailable for Apple Silicon (ARM64) architecture:
autobahn-25.9.1-cp312-cp312-macosx_15_0_arm64.whlautobahn-25.9.1-cp313-cp313-macosx_15_0_arm64.whlautobahn-25.9.1-cp314-cp314-macosx_11_0_arm64.whlautobahn-25.9.1-pp311-pypy311_pp73-macosx_11_0_arm64.whlAvailable for x86_64 (AMD64) architecture:
autobahn-25.9.1-cp311-cp311-win_amd64.whlautobahn-25.9.1-cp312-cp312-win_amd64.whlautobahn-25.9.1-cp313-cp313-win_amd64.whlautobahn-25.9.1-cp314-cp314-win_amd64.whlautobahn-25.9.1-pp311-pypy311_pp73-win_amd64.whlAll wheels include native CFFI extensions for optimal performance and are available from PyPI and GitHub Releases.
Autobahn runs on both Twisted and asyncio. To select the respective netoworking framework, install flavor:
asyncio: Install asyncio (when on Python 2, otherwise it's
included in the standard library already) and asyncio support
in Autobahntwisted: Install Twisted and Twisted support in AutobahnThe accelerate optional dependency is no longer recommended. Autobahn now includes NVX (Native Vector Extensions), which provides SIMD-accelerated native code for WebSocket operations (XOR masking and UTF-8 validation) using CFFI. See the NVX section below for details.
accelerateAutobahn supports multiple WebSocket per-message compression algorithms via the compress optional dependency:
pip install autobahn[compress]
Compression Methods Available:
| Method | Availability | Standard | Implementation | Notes |
|---|---|---|---|---|
| permessage-deflate | Always | RFC 7692 | Python stdlib (zlib) | Standard WebSocket compression |
| permessage-brotli | [compress] |
RFC 7932 | brotli / brotlicffi | Recommended - Best compression ratio |
| permessage-bzip2 | Optional | Non-standard | Python stdlib (bz2) | Requires Python built with libbz2 |
| permessage-snappy | Manual install | Non-standard | python-snappy | Requires separate installation |
Platform-Optimized Brotli Support:
Autobahn includes Brotli compression with full binary wheel coverage optimized for both CPython and PyPy:
Advantages of Brotli:
Resources:
Note on Snappy:
Snappy compression is available but requires manual installation of python-snappy (no binary wheels):
pip install python-snappy # Requires libsnappy-dev system library
For most use cases, Brotli is recommended over Snappy due to better compression ratios and included binary wheels.
Autobahn supports running over TLS (for WebSocket and all WAMP transports) as well as WAMP-cryposign authentication.
To install use this flavor:
encryption: Installs TLS and WAMP-cryptosign dependenciesAutobahn also supports WAMP-SCRAM authentication. To install:
scram: Installs WAMP-SCRAM dependencies> This is NOT yet complete - ALPHA!
Autobahn contains NVX, a network accelerator library that provides SIMD accelerated native vector code for WebSocket (XOR masking) and UTF-8 validation.
NVX lives in namespace autobahn.nvx and currently requires a x86-86 CPU with at least SSE2 and makes use of SSE4.1 if available. The code is written using vector instrinsics, should compile with both GCC and Clang,and interfaces with Python using CFFI, and hence runs fast on PyPy.
As of v25.11.1, all WAMP serializers are included by default - batteries included!
Autobahn|Python now ships with full support for all WAMP serializers out-of-the-box:
The serializer dependencies are optimized for both CPython and PyPy:
| Serializer | CPython | PyPy | Wheel Type | Notes |
|---|---|---|---|---|
| json | stdlib | stdlib | - | Always available |
| msgpack | Binary wheel (C extension) | u-msgpack-python (pure Python) | Native + Universal | PyPy JIT makes pure Python faster than C |
| ujson | Binary wheel | Binary wheel | Native | Available for both implementations |
| cbor2 | Binary wheel | Pure Python fallback | Native + Universal | Binary wheels + py3-none-any |
| ubjson | Pure Python | Pure Python | Source | Set PYUBJSON_NO_EXTENSION=1 to skip C build |
| flatbuffers | Vendored | Vendored | Included | Always available, no external dependency |
Key Design Principles:
Total Additional Size: ~590KB (negligible compared to full application install)
All serializer dependencies provide binary wheels for:
The serialization optional dependency is maintained for backwards compatibility:
pip install autobahn[serialization] # Still works, but now a no-op
To speed up JSON on CPython using the faster ujson, set:
AUTOBAHN_USE_UJSON=1
Warning: Using
ujsonwill break the ability of Autobahn to transport and translate binary application payloads in WAMP transparently. This ability depends on features of the standard libraryjsonmodule not available inujson.
Autobahn|Python is fully optimized for both CPython and PyPy with comprehensive binary wheel coverage.
All dependencies follow these design principles:
| Dependency | Purpose | CPython | PyPy | Wheel Coverage | Notes |
|---|---|---|---|---|---|
| txaio | Twisted/asyncio abstraction | Universal wheel | Universal wheel | ✅ Excellent | Pure Python, works everywhere |
| cryptography | TLS, X.509, cryptographic primitives | Binary wheel (Rust+CFFI) | Binary wheel (Rust+CFFI) | ✅ Excellent | 40+ wheels per release |
| hyperlink | URL parsing | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
All serializers are now included by default in the base installation:
| Serializer | Purpose | CPython | PyPy | Wheel Coverage | Notes |
|---|---|---|---|---|---|
| json | JSON serialization | stdlib | stdlib | ✅ Always available | Python standard library |
| msgpack | MessagePack serialization | msgpack (binary wheel) | u-msgpack-python (pure Python) | ✅ Excellent | 50+ wheels for CPython; PyPy JIT optimized |
| ujson | Fast JSON (optional) | Binary wheel | Binary wheel | ✅ Excellent | 30+ wheels; both implementations |
| cbor2 | CBOR serialization (RFC 8949) | Binary wheel | Pure Python fallback | ✅ Excellent | 30+ binary wheels + universal fallback |
| py-ubjson | UBJSON serialization | Pure Python | Pure Python | ✅ Good | Optional C extension (can skip with PYUBJSON_NO_EXTENSION=1) |
| flatbuffers | Google Flatbuffers | Vendored | Vendored | ✅ Perfect | Included in our wheel, zero external dependency |
Available via pip install autobahn[twisted]:
| Dependency | Purpose | CPython | PyPy | Wheel Coverage | Notes |
|---|---|---|---|---|---|
| zope.interface | Component architecture | Binary wheel | Binary wheel | ✅ Excellent | 40+ wheels |
| twisted | Async networking framework | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
| attrs | Class attributes | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
Available via pip install autobahn[compress]:
| Compression Method | CPython | PyPy | Wheel Coverage | Standards | Notes |
|---|---|---|---|---|---|
| permessage-deflate | stdlib (zlib) | stdlib (zlib) | ✅ Always available | RFC 7692 | Python standard library |
| permessage-brotli | brotli (CPyExt) | brotlicffi (CFFI) | ✅ Excellent | RFC 7932 | 40+ wheels (brotli), 20+ wheels (brotlicffi) |
| permessage-bzip2 | stdlib (bz2) | stdlib (bz2) | ✅ Always available | Non-standard | Python standard library |
| permessage-snappy | python-snappy (optional) | python-snappy (optional) | Non-standard | Manual install; requires libsnappy-dev |
Recommendation: Use permessage-brotli for optimal compression with full binary wheel support.
Available via pip install autobahn[encryption]:
| Dependency | Purpose | CPython | PyPy | Wheel Coverage | Notes |
|---|---|---|---|---|---|
| pyopenssl | TLS/SSL operations | Universal wheel | Universal wheel | ✅ Excellent | Pure Python wrapper |
| service-identity | TLS service verification | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
| pynacl | NaCl cryptography | Binary wheel (CFFI) | Binary wheel (CFFI) | ✅ Excellent | 30+ CFFI wheels |
| pytrie | Trie data structure | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
| qrcode | QR code generation | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
| base58 | Base58 encoding | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
| ecdsa | ECDSA signatures | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
Available via pip install autobahn[scram]:
| Dependency | Purpose | CPython | PyPy | Wheel Coverage | Notes |
|---|---|---|---|---|---|
| cffi | C Foreign Function Interface | Binary wheel | Binary wheel | ✅ Excellent | 40+ wheels including PyPy |
| argon2-cffi | Argon2 password hashing | Binary wheel (CFFI) | Binary wheel (CFFI) | ✅ Excellent | 30+ CFFI wheels including PyPy |
| passlib | Password hashing framework | Universal wheel | Universal wheel | ✅ Excellent | Pure Python |
Available via pip install autobahn[nvx]:
| Feature | Implementation | CPython | PyPy | Coverage | Notes |
|---|---|---|---|---|---|
| XOR Masking | SIMD via CFFI | ✅ Yes | ✅ Yes | ✅ Excellent | Our own CFFI-based implementation |
| UTF-8 Validation | SIMD via CFFI | ✅ Yes | ✅ Yes | ✅ Excellent | Our own CFFI-based implementation |
NVX provides significant performance improvements for WebSocket operations using SIMD instructions through CFFI.
Binary wheels available for:
All optional dependencies install cleanly without:
✅ Autobahn|Python achieves its goals:
There is nothing more to optimize or wish for - the dependency strategy is complete and optimal.