Skip to main content

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

Uploaded Source

Built Distribution

fetchai_babble-0.3.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file fetchai_babble-0.3.0.tar.gz.

File metadata

  • Download URL: fetchai_babble-0.3.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-60-generic

File hashes

Hashes for fetchai_babble-0.3.0.tar.gz
Algorithm Hash digest
SHA256 58f6c1a92833dc32f306db1abf798d4b7c64d666db320d0469852298540cb173
MD5 398a42ccb70be4b82808e98cf8dc1cee
BLAKE2b-256 71758c6f8a95f5795769322da9c2c75c988e7eee52dce3c59e0152b3313cf683

See more details on using hashes here.

File details

Details for the file fetchai_babble-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fetchai_babble-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-60-generic

File hashes

Hashes for fetchai_babble-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14f7bcf25fdd4975a0ed400f711dbcd09054da4e99f5f59afe2591be83e72e7c
MD5 2443fecfce6ea43e70e9766b519bf60e
BLAKE2b-256 33b7c083b49dbcceed0117585b8ebe54cb17209d2d54d8a164e88f361adbffc9

See more details on using hashes here.

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