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 ruff check --fix && ruff format
Project details
Release history Release notifications | RSS feed
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.5.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fetchai_babble-0.4.5.tar.gz.
File metadata
- Download URL: fetchai_babble-0.4.5.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f823155c5fbd7126d0f230f568f0b555c2ac22e79294bf52f4b56817b491ffbc
|
|
| MD5 |
0a5a2635dc056c2e81cb3379d3bf33df
|
|
| BLAKE2b-256 |
909be6a589d235ead5238775902339da3a73e72ce379f1b0c8cdcb281dd586f1
|
File details
Details for the file fetchai_babble-0.4.5-py3-none-any.whl.
File metadata
- Download URL: fetchai_babble-0.4.5-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a9dbae084a42b34f1e76b7435715ae01d504cb1ba932665a2e931027d106a9f
|
|
| MD5 |
20fb4bfe5f475b34cb24a63be3058503
|
|
| BLAKE2b-256 |
86b3f9e66e1196bb803a8d8d40587eca77f50b8ddcb8bf6e1e4abbc75851b9e1
|