An implementation of Syndicated Actors for Python
Go to file
Tony Garnock-Jones c8cbc8cdb6 Update README and setup.py 2021-08-19 14:39:43 -04:00
syndicate Start on linked_task 2021-08-19 14:04:38 -04:00
.gitignore Initial commit 2018-11-20 19:45:27 +00:00
Makefile Clean up for publication 2019-06-23 13:17:47 +01:00
README.md Update README and setup.py 2021-08-19 14:39:43 -04:00
chat.py Tighten 2021-08-19 14:06:33 -04:00
environment Initial commit 2018-11-20 19:45:27 +00:00
ovlinfo.py Actors; Facets; logging; error handling 2019-06-23 21:43:52 +01:00
requirements.txt Clean up for publication 2019-06-23 13:17:47 +01:00
setup.py Update README and setup.py 2021-08-19 14:39:43 -04: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 "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977"> ...

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

python chat.py \
    '<tcp "localhost" 8001>' \
    '<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977">'