BSD Ports

devel/py-pycrdt-websocket 0.15.4 DragonFly

WebSocket connector for pycrdt

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
37.0 KiB, 258.1 KiB installed

Description

Pycrdt-websocket is a Python library for building WebSocket servers and clients that connect and synchronize shared documents. It can be used to create collaborative web applications.

The following diagram illustrates a typical architecture. The goal is to share a document among several clients.

Each client has an instance of a Doc, representing their view of a document. A shared document also lives in a room on the server side. Conceptually, a room can be seen as the place where clients collaborate on a document. The WebSocket to which a client connects points to the corresponding room through the endpoint path. In the example below, clients A and B connect to a WebSocket at path room-1, and thus both clients find themselves in a room called room-1. All the Doc synchronization logic is taken care of by the WebsocketProvider.

Each update to a shared document can be persisted to disk using a store, which can be a file or a database.

In the other systems

The newest version among them is 0.16.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-pycrdt-websocket0.15.4 behind since 2026-07-08none known-[email protected]-
FreeBSDdevel/py-pycrdt-websocket0.16.5 newestnone known-[email protected]2026-09-30
HardenedBSDdevel/py-pycrdt-websocket0.16.5 newestno data-[email protected]-
GhostBSDdevel/py-pycrdt-websocket0.16.4 behind since 2026-09-30no data-[email protected]-

Install

Binary package:

pkg install py311-pycrdt-websocket

From DPorts:

cd /usr/dports/devel/py-pycrdt-websocket && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4