# autobahn

> WebSocket client & server library, WAMP real-time framework

- **URL**: https://www.freshcrate.ai/projects/autobahn
- **Author**: pypi
- **Category**: Frameworks
- **Latest version**: `25.12.2` (2026-04-21)
- **License**: Unknown
- **Source**: https://github.com/crossbario/autobahn-python
- **Homepage**: https://pypi.org/project/autobahn/
- **Language**: Python
- **GitHub**: 2,536 stars, 766 forks
- **Registry**: pypi (`autobahn`)
- **Tags**: `asyncio`, `autobahn`, `crossbar`, `pubsub`, `pypi`, `realtime`, `rfc6455`, `rpc`, `twisted`

## Description

# Autobahn|Python

WebSocket & WAMP for Python on Twisted and asyncio.

[![PyPI](https://img.shields.io/pypi/v/autobahn.svg)](https://pypi.python.org/pypi/autobahn)
[![Python](https://img.shields.io/pypi/pyversions/autobahn.svg)](https://pypi.python.org/pypi/autobahn)
[![CI](https://github.com/crossbario/autobahn-python/workflows/main/badge.svg)](https://github.com/crossbario/autobahn-python/actions?query=workflow%3Amain)
[![CI (wstest)](https://github.com/crossbario/autobahn-python/workflows/wstest/badge.svg)](https://github.com/crossbario/autobahn-python/actions?query=workflow%3Awstest)
[![CD (wheels)](https://github.com/crossbario/autobahn-python/workflows/wheels/badge.svg)](https://github.com/crossbario/autobahn-python/actions?query=workflow%3Awheels)
[![CD (wheels-arm64)](https://github.com/crossbario/autobahn-python/workflows/wheels-arm64/badge.svg)](https://github.com/crossbario/autobahn-python/actions?query=workflow%3Awheels-arm64)
[![CD (wheels-docker)](https://github.com/crossbario/autobahn-python/workflows/wheels-docker/badge.svg)](https://github.com/crossbario/autobahn-python/actions?query=workflow%3Awheels-docker)
[![Docs](https://readthedocs.org/projects/autobahn/badge/?version=latest)](https://autobahn.readthedocs.io/en/latest/)
[![License](https://img.shields.io/pypi/l/autobahn.svg)](https://github.com/crossbario/autobahn-python/blob/master/LICENSE)
[![Downloads](https://img.shields.io/pypi/dm/autobahn.svg)](https://pypi.python.org/pypi/autobahn)

---

**Quick Links**:
[Source Code](https://github.com/crossbario/autobahn-python) -
[Documentation](https://autobahn.readthedocs.io/en/latest/) -
[WebSocket Examples](https://autobahn.readthedocs.io/en/latest/websocket/examples.html) -
[WAMP Examples](https://autobahn.readthedocs.io/en/latest/wamp/examples.html)
**Community**:
[Forum](https://crossbar.discourse.group/) -
[StackOverflow](https://stackoverflow.com/questions/tagged/autobahn) -
[Twitter](https://twitter.com/autobahnws) -
[IRC \#autobahn/chat.freenode.net](https://webchat.freenode.net/)
**Companion
Projects**:
[Autobahn|JS](https://github.com/crossbario/autobahn-js/) -
[Autobahn|Cpp](https://github.com/crossbario/autobahn-cpp) -
[Autobahn|Testsuite](https://github.com/crossbario/autobahn-testsuite) -
[Crossbar.io](https://crossbar.io) -
[WAMP](https://wamp-proto.org)

## Introduction

**Autobahn|Python** is a subproject of
[Autobahn](https://crossbar.io/autobahn) and provides open-source
implementations of

- [The WebSocket Protocol](https://tools.ietf.org/html/rfc6455)
- [The Web Application Messaging Protocol (WAMP)](https://wamp-proto.org/)

for Python 3.7+ and running on
[Twisted](https://twistedmatrix.com/) and
[asyncio](https://docs.python.org/3/library/asyncio.html).

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](https://crossbario.com/blog/post/websocket-why-what-can-i-use-it/)
and beyond, while [WAMP](https://wamp-proto.org/) 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](https://tools.ietf.org/html/rfc6455).
WAMP is a _routed_ protocol, so you need a **WAMP Router** to
connect your **Autobahn|Python** based clients. We provide
[Crossbar.io](https://crossbar.io), but there are
[other options](https://wamp-proto.org/implementations.html#routers)
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+.

## Features

- framework for [WebSocket](https://tools.ietf.org/html/rfc6455)
  and [WAMP](https://wamp-proto.org/) clients and servers
- runs on [CPython](https://python.org/) and
  <span class="title-ref">PyPy &lt;https://pypy.org/&gt;</span>
- runs under [Twisted](https://twistedmatrix.com/) and
  [asyncio](https://docs.python.org/3/library/asyncio.html) -
  implements WebSocket
  [RFC6455](https://tools.ietf.org/html/rfc6455) and Draft
  Hybi-10+
- implements
  [WebSocket compression](https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression)
- implements [WAMP](https://wamp-proto.org/), the Web Application
  Messaging Protocol
- high-performance, fully asynchronous implementation
- best-in-class standards conformance (100% strict passes with
  [Autobahn Testsuite](https://crossbar.io/autobahn#testsuite):
  [Client](https://autobahn.ws/testsuite/reports/clients/index.html)
  [Server](https://autobahn.ws/testsuite/reports/servers/index.html))
- message-, frame- and streaming-APIs for WebSocket
- supports TLS (secure WebSocket) and proxies
- Open-source
  ([MIT license](https://github.com/crossbario/autobahn-python/blob/master/LICENSE))

---

## AI Policy

> **IMPORTANT: A Note on Upcoming Policy Changes Regarding AI-Assisted Content**
>
> Up to and in

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `25.12.2` | 2026-04-21 | Low | Imported from PyPI (25.12.2) |
| `fork-68427734-oberstet_autobahn_python-strict_typing_test-202601141357` | 2026-01-14 | Low | # Development Build fork-68427734-oberstet_autobahn_python-strict_typing_test-202601141357  Development build from pull request  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-14 14:02:37 UTC - **Release Type**: development  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |
| `master-202601101042` | 2026-01-10 | Low | # Nightly Build master-202601101042  Automated nightly build from master branch  ## Build Information  - **Commit**: 1c7d45cd - **Build Date**: 2026-01-10 10:46:25 UTC - **Release Type**: nightly  ## Included Platforms  - **Linux**: x86_64, ARM64 (manylinux wheels + pure Python fallbacks) - **macOS**: Apple Silicon ARM64 - **Windows**: x86_64  ## Python Versions  - **CPython**: 3.11, 3.12, 3.13, 3.14 - **PyPy**: 3.11  ## Installation  Download the appropriate wheel for your platform:  ```bash pi |

## Citation

- HTML: https://www.freshcrate.ai/projects/autobahn
- Markdown: https://www.freshcrate.ai/projects/autobahn.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/autobahn/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
