An implementation of Syndicated Actors for Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Tony Garnock-Jones 23c622f914
Bump version
2 weeks ago
syndicate Executors; repair relay.service 2 weeks ago
.envrc Repair packaging 1 year ago
.gitignore Adjust .gitignore 1 year ago
Makefile tag target 1 month ago
README.md New gatekeeper protocol 1 month ago
bidi-gc.py Switch to HMAC-BLAKE2s 2 months ago
chat.bin Standalone chat protocol 2 months ago
chat.prs Standalone chat protocol 2 months ago
chat.py Executors; repair relay.service 2 weeks ago
chat.server-config.pr chat.server-config.pr 2 weeks ago
inf.py Fix inf.py 1 year ago
requirements.txt Clean up for publication 4 years ago
setup.py Bump version 2 weeks ago

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