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.

29 lines
798 B

# syndicate-py
1 year ago
This is a Python implementation of Syndicated Actors and the Syndicate network protocol.
1 year ago
pip install syndicate-py
1 year ago
or
git clone https://git.syndicate-lang.org/syndicate-lang/syndicate-py
cd syndicate-py
1 year ago
virtualenv -p python3 pyenv
. pyenv/bin/activate
pip install -r requirements.txt
## Running
Start a Syndicate broker (such as
[this one](https://git.syndicate-lang.org/syndicate-rs)) in one window.
Find the line of broker output giving the root capability:
... rootcap=<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977"> ...
1 year ago
Then, run [chat.py](chat.py) several times in several separate windows:
1 year ago
python chat.py \
12 months ago
--address '<tcp "localhost" 8001>' \
--cap '<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977">'