Port details |
- py-pycrdt-websocket WebSocket connector for pycrdt
- 0.12.7 devel =0 0.12.7Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-12-14 20:54:13
- Last Update: 2024-02-21 15:07:40
- Commit Hash: 3ffa436
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/jupyter-server/pycrdt-websocket
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pycrdt-websocket>0:devel/py-pycrdt-websocket@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pycrdt-websocket/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pycrdt-websocket
- pkg install py39-pycrdt-websocket
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-pycrdt-websocket listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pycrdt-websocket
- Package flavors (<flavor>: <package>)
- py39: py39-pycrdt-websocket
- distinfo:
- TIMESTAMP = 1708449304
SHA256 (pycrdt_websocket-0.12.7.tar.gz) = 5ce1d3ad8ba5d3407400f3dcf5d96c9b9d9836fb421928ac5698dd094ed18cfa
SIZE (pycrdt_websocket-0.12.7.tar.gz) = 16835
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-hatchling>=0 : devel/py-hatchling@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-aiosqlite>=0.18.0<1 : databases/py-aiosqlite@py39
- py39-anyio>=3.6.2<5 : devel/py-anyio@py39
- py39-pycrdt>=0.8.7<0.9.0 : devel/py-pycrdt@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-jupyter-collaboration
Configuration Options:
- ===> The following configuration options are available for py39-pycrdt-websocket-0.12.7:
DJANGO=off: Django support
===> Use 'make config' to modify these settings
- Options name:
- devel_py-pycrdt-websocket
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Port Moves |
- port moved here from devel/py-ypy-websocket on 2024-03-31
REASON: Remove obsoleted port. Use devel/py-pycrdt-websocket instead
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.12.7 21 Feb 2024 15:07:40 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pycrdt-websocket: Update to 0.12.7
- Add GitHub to MASTER_SITES
Changes: https://github.com/jupyter-server/pycrdt-websocket/releases |
0.12.5 14 Dec 2023 20:41:48 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pycrdt-websocket: Add py-pycrdt-websocket 0.12.5
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. |
Number of commits found: 2
|