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.3.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syndicate_py-0.19.3.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for syndicate_py-0.19.3.tar.gz
Algorithm Hash digest
SHA256 9238fedb05c7464526e245a3402ad5aa38e062a08061412a0ec55564414076d8
MD5 6ae670714ae89dbe84f887d0d39937e1
BLAKE2b-256 03f2619771f8daf61e561a066a295b0be26287b57b2edc40f2b04a1d468ff284

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syndicate_py-0.19.3-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for syndicate_py-0.19.3-py3-none-any.whl
Algorithm Hash digest
SHA256 636a68ec45279e811187056140601ed5c146b7cce3739e1367d4e8188297d4d0
MD5 0bf3d4f61032cae0a3a30927e91acec3
BLAKE2b-256 f286c59ffcb6afdffad9379a735a28308a7b32ed51aa59dfad9e0b976b792465

See more details on using hashes here.

Supported by

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