A simple python library for interacting with the Fetch.ai messaging service (called Memorandum)
Project description
Babble
A simple python library for interacting with the Fetch.ai messaging service (called Memorandum)
Quick Example
from babble import Client, Identity
# create a set of agents with random identities
client1 = Client('agent1.....', Identity.generate())
client2 = Client('agent1.....', Identity.generate())
# send a message from one client to another
client1.send(client2.delegate_address, "why hello there")
# receive the messages from the other client
for msg in client2.receive():
print(msg.text)
Developing
Install dependencies
poetry install
Run examples
poetry run ./examples/simple-e2e.py
Run tests
poetry run pytest
Run formatter
poetry run black .
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
fetchai_babble-0.4.1.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file fetchai_babble-0.4.1.tar.gz
.
File metadata
- Download URL: fetchai_babble-0.4.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03220e7c42feb1344f10f8c3f157508c58496b34303259960fafcd3fff0d4d3b |
|
MD5 | db81f8b34aebacda0ce0aecea755d4e4 |
|
BLAKE2b-256 | f0fb45c78ed697580cf1cfeb65fd7747de770834315c44f037655ef251e66e6b |
File details
Details for the file fetchai_babble-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: fetchai_babble-0.4.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96de5491145e8ed311f526f1516eed4807d99b1eda9fc221c5027b22a72f2ef5 |
|
MD5 | 38e724a29fc9c9f2afc6b3a083fb6976 |
|
BLAKE2b-256 | f434fdf0dfdbc1fc57d27ed6baa5f1d71e5ad4b98615800613e574e9c036eba2 |