Skip to main content

Python implementation of Asynchronous Ratchet Trees

Project description

pyxart

Python implementation of Asynchronous Ratchet Trees

Setup

Install dependencies

gRPC and protobuf

python -m grpc_tools.protoc -I src/pyxart/protobuf --python_out=. --grpc_python_out=. src/pyxart/protobuf/*

start server

python demo_server.py

start client

python demo_client.py <client_name>

Orchestration

Create four shells A, B, C, and D

In A,

python demo_server.py

In B

python demo_client.py Alice
register

In C

python demo_client.py Bob
register

In D

python demo_client.py Dave
register

In B

create_group

In C, D

get_my_groups

In B

send_message <group_name_from_previous_output> <plain text message>

In C, D

get_messages <group_name>

references

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

pyxart-0.1.4.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

pyxart-0.1.4-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

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