Skip to main content

Syndicated Actor model and Syndicate network protocol for Python 3

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syndicate_py-0.19.1.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

syndicate_py-0.19.1-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file syndicate_py-0.19.1.tar.gz.

File metadata

  • Download URL: syndicate_py-0.19.1.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for syndicate_py-0.19.1.tar.gz
Algorithm Hash digest
SHA256 358201f3cea8ffe027d5ed5c1fae41ecec4af318115a86f2373da8d9c51c02bc
MD5 e28eedb6c6c58405b3333c721d1086dd
BLAKE2b-256 57354246b278b93f69d1067b0e09d3b4c39c589c088a1b38982e92845d906900

See more details on using hashes here.

File details

Details for the file syndicate_py-0.19.1-py3-none-any.whl.

File metadata

File hashes

Hashes for syndicate_py-0.19.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e98fd176a40d03a6f72baca2b5e22137ff45f8c53be9b949449b0f34c4a927df
MD5 e29c6373fd04e8290d56d9442cfceb17
BLAKE2b-256 f0b7fc8223a8e9c50d91cb4b55e777ac07c85c9a23aff2a53ddbdbb3884c3691

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page