pyxart
Python implementation of Asynchronous Ratchet Trees
Setup
Install (conda + pip)
conda create --name <venv name> python=3.10
pip install .
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 Alice
register
In B
python demo_client.py Bob
register
In C
python demo_client.py Charlie
register
In D
python demo_client.py Dave
register
In B
create_group charlie dave
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>
Demo
The following screenshot shows a demo of a grpc server and four clients.
references
Metadata
Release files for pyxart 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyxart-0.2.1.tar.gz | 9.6 kB | Without provenance | Details for pyxart-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxart-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pyxart-0.2.1-py3-none-any.whl |
Total release size: 22.3 kB
Release files / pyxart-0.2.1.tar.gz
| Download URL | pyxart-0.2.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfa4adae2859b6a43f75eb340eb99771cac01524f8c3406d976ebe1f587abdf3
|
|
BLAKE2b-256 checksum How to use checksums |
75aaf03988c16cd974bcc2c63f5af25ee73e7a85742f0587bbda25876a7e60c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pyxart-0.2.1-py3-none-any.whl
| Download URL | pyxart-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5703a6354f39d00e41258387b93c14651945ac3aee32bd1bda92ae7aec0c3ef7
|
|
BLAKE2b-256 checksum How to use checksums |
5c058d9153430b6052cb420b4c6927ec7eecf873f36f94056ddb1333f35e4c97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for pyxart 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.