BSD Ports

devel/py-pycrdt-websocket 0.16.5 FreeBSD

WebSocket connector for pycrdt

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
633afb6f9d
License
MIT
Categories
devel, python
Package size
31.0 KiB, 155.5 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

SystemPortVersion
FreeBSDdevel/py-pycrdt-websocket0.16.5
DragonFlydevel/py-pycrdt-websocket0.15.4
HardenedBSDdevel/py-pycrdt-websocket0.16.5
GhostBSDdevel/py-pycrdt-websocket0.16.4

Install

Binary package:

pkg install py312-pycrdt-websocket

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pycrdt-websocket>0:devel/py-pycrdt-websocket

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.16.50.16.5-0.15.50.16.5
FreeBSD:14:quarterly0.16.50.16.5n/a0.15.50.16.5
FreeBSD:15:latest0.16.50.16.5n/a0.15.50.15.5
FreeBSD:15:quarterly0.16.50.16.5n/an/an/a
FreeBSD:16:latest0.16.50.16.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 22

Configuration

Options name: devel_pycrdt-websocket

OptionDefaultDescription
DJANGOoffDjango support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pycrdt_websocket-0.16.5.tar.gz24566bda0b9ad31468a9d664464fc28c1b112cfde274065eb75844aa19950fb59d282
Master sites 2
  • PYPI
  • https://github.com/jupyter-server/pycrdt-websocket/releases/download/v0.16.5/

Commit history 3

DateCommitCreditsLog message
633afb6f9d Po-Chuan Hsieh devel/py-pycrdt-websocket: Update to 0.16.5
Changes: https://github.com/y-crdt/pycrdt-websocket/releases
fe3ebf65ec Po-Chuan Hsieh devel/py-pycrdt-websocket: Update to 0.16.4
Changes: https://github.com/y-crdt/pycrdt-websocket/releases
4f1ed4b236 Po-Chuan Hsieh devel/py-pycrdt-websocket: Update to 0.16.3
Changes: https://github.com/y-crdt/pycrdt-websocket/releases