pycrdt-websocket
WebSocket connector for pycrdt
Decision gist · record as of 2026-08-14
Yes. Pycrdt-websocket is actively maintained, has low install friction, carries no known vulnerabilities, and solves a specific and well-defined problem—WebSocket-based CRDT synchronization for collaborative applications. The MIT license is permissive. Install it if you are building a real-time multi-user application and want automatic conflict resolution without managing your own sync protocol.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; WebSocket server endpoint must be running and accessible.
- Low install friction with a pure-Python wheel and only three runtime dependencies (anyio, pycrdt, pycrdt-store).
- The package is actively maintained with a recent release and supports current Python versions.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations—only attribution and inclusion of the license text are required.
last release 2026-07-02 (43 days) · last repo commit 2026-07-02 · 47 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 853,435 downloads/mo, #4,896 on PyPI
Alternatives
Verify before relying
pip install pycrdt-websocket
from pycrdt_websocket import WebsocketProvider
from pycrdt import Doc
# Client connects to WebSocket server at a room path
provider = WebsocketProvider("ws://localhost/room-1", Doc())- Whether pycrdt-store supports the persistence backends (file vs. database) you need
- Performance characteristics under high client concurrency or large document sizes
- Whether the package handles network reconnection and conflict resolution transparently
What it is and what it does
Pycrdt-websocket is a Python library for building WebSocket-based collaborative applications. It wraps the pycrdt CRDT library with async WebSocket transport, allowing multiple clients to connect to a server, each holding a local view of a shared document. The server maintains a room for each document, persisting updates to a store and broadcasting changes to all connected clients. The WebsocketProvider handles synchronization logic automatically, so developers focus on application logic rather than conflict resolution or network protocol details.
The library is designed for real-time collaborative editing scenarios—think shared documents, whiteboards, or any multi-user application where eventual consistency and offline-first behavior are acceptable. It depends on anyio for async I/O portability, pycrdt for the core CRDT data structures, and pycrdt-store for persistence. The package is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities.
Use it for
- Build a collaborative text editor where multiple users edit a document simultaneously with automatic conflict resolution.
- Create a shared whiteboard or canvas application where drawing updates sync across all connected clients in real time.
- Implement a multiplayer game or interactive application where game state is synchronized across players via WebSocket.
- Build a note-taking or task-management app where changes persist and sync instantly to all open sessions.
- Develop a collaborative spreadsheet or data-entry form where multiple users contribute to the same document concurrently.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Pycrdt-websocket is actively maintained, has low install friction, carries no known vulnerabilities, and solves a specific and well-defined problem—WebSocket-based CRDT synchronization for collaborative applications. The MIT license is permissive. Install it if you are building a real-time multi-user application and want automatic conflict resolution without managing your own sync protocol.
Install
pycrdt-websocket on PyPI
Before you install
Low install friction with a pure-Python wheel and only three runtime dependencies (anyio, pycrdt, pycrdt-store). The package is actively maintained with a recent release and supports current Python versions.
Requires Python 3.10 or later; WebSocket server endpoint must be running and accessible.
License in practice
MIT License permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations—only attribution and inclusion of the license text are required.
Quickstart
pip install pycrdt-websocket
from pycrdt_websocket import WebsocketProvider
from pycrdt import Doc
# Client connects to WebSocket server at a room path
provider = WebsocketProvider("ws://localhost/room-1", Doc())
Verify before relying
- Whether pycrdt-store supports the persistence backends (file vs. database) you need
- Performance characteristics under high client concurrency or large document sizes
- Whether the package handles network reconnection and conflict resolution transparently
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesanyiopycrdt-storepycrdt |
| Maintenance | Actively maintained 43 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 853,435 / month, #4,896 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: pycrdt_websocket-0.16.4-py3-none-any.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 › “websocket crdt synchronization”
- pycrdt-websocketPycrdt-websocket provides an async WebSocket connector that…
- ypy-websocketYpy-websocket is an async WebSocket connector for Ypy that enables…
- loroLoro provides Python bindings for a CRDT (Conflict-free Replicated…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP 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.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also ypy-websocket · pycrdt · pycrdt-store · jupyter-ydoc · loro · jupyter-server-ydoc · jupyter-docprovider · y-py · jupyter-collaboration · websockets