An implementation of Syndicated Actors for Python
Go to file
Tony Garnock-Jones 05fd3ca22e Bump version 2024-04-10 17:10:34 +02:00
syndicate Merge latest changes from the syndicate-protocols repository 2024-04-10 17:09:56 +02:00
.envrc Switch to pyproject.toml; bump to 0.16.0 for latest Preserves and protocols 2024-03-01 17:00:54 +01:00
.gitignore Adjust .gitignore 2021-12-25 11:35:18 -05:00
Makefile Support script for retrieving package version 2024-03-29 12:32:48 +01:00
README.md Update README 2024-03-29 12:40:36 +01:00
bidi-gc.py Update for preserves changes 2024-02-08 12:11:11 +01:00
chat.bin Update for new Preserves 2023-10-31 22:42:52 +01:00
chat.prs Standalone chat protocol 2023-02-04 16:27:31 +01:00
chat.py Mirror linked task behaviour from other implementations: default to terminating facet on task end, and also terminate facet on task exception 2024-03-30 09:07:09 +01:00
chat.server-config.pr chat.server-config.pr 2023-03-06 23:24:10 +01:00
inf.py Fix inf.py 2022-01-07 16:04:45 +01:00
inf.server-config.pr Example config for inf.py 2023-11-10 17:04:45 +01:00
print-package-version Support script for retrieving package version 2024-03-29 12:32:48 +01:00
pyproject.toml Bump version 2024-04-10 17:10:34 +02:00

README.md

syndicate-py

This is a Python implementation of Syndicated Actors and the Syndicate network protocol.

pip install syndicate-py

or

git clone https://git.syndicate-lang.org/syndicate-lang/syndicate-py
cd syndicate-py
python -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'

See also syndicate-py-packaging for Debian packaging scripts.

Running

Start a Syndicate broker (such as this one) in one window.

Find the line of broker output giving the root capability:

... rootcap=<ref {oid: "syndicate" sig: #x"69ca300c1dbfa08fba692102dd82311a"}> ...

Then, run chat.py several times in several separate windows:

python chat.py \
    --address '<tcp "localhost" 8001>' \
    --cap '<ref {oid: "syndicate" sig: #x"69ca300c1dbfa08fba692102dd82311a"}>'