An implementation of Syndicated Actors for Python
Go to file
Tony Garnock-Jones ae2698557c tag target 2023-02-10 16:46:46 +01:00
syndicate New gatekeeper protocol 2023-02-10 12:16:23 +01:00
.envrc Repair packaging 2022-01-11 20:19:18 +01:00
.gitignore Adjust .gitignore 2021-12-25 11:35:18 -05:00
Makefile tag target 2023-02-10 16:46:46 +01:00
README.md New gatekeeper protocol 2023-02-10 12:16:23 +01:00
bidi-gc.py Switch to HMAC-BLAKE2s 2023-02-06 17:35:44 +01:00
chat.bin Standalone chat protocol 2023-02-04 16:27:31 +01:00
chat.prs Standalone chat protocol 2023-02-04 16:27:31 +01:00
chat.py New gatekeeper protocol 2023-02-10 12:16:23 +01:00
inf.py Fix inf.py 2022-01-07 16:04:45 +01:00
requirements.txt Clean up for publication 2019-06-23 13:17:47 +01:00
setup.py Bump version 2023-02-10 16:45:29 +01: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
virtualenv -p python3 pyenv
. pyenv/bin/activate
pip install -r requirements.txt

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"}>'