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

Uploaded Source

Built Distribution

fetchai_babble-0.1.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchai_babble-0.1.1.tar.gz
  • Upload date:
  • Size: 10.5 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.1.1.tar.gz
Algorithm Hash digest
SHA256 80051c8fd6633d068e409aa970c3b8ae5e27fde4761283a48c7a3742b3f00268
MD5 ff42018bd974bf2e7a1615b4a69ad28f
BLAKE2b-256 3ecd53ac163170b4a67146104742033b9706f8923e95cb4badcf0c017ca52b7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fetchai_babble-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb21745a250712bc56dd75024b7645441f2bbcfada6186fb5d4474fe723582f2
MD5 cf97379966fbc2b6627ac24305fc1008
BLAKE2b-256 b13515edbd66481174af7b0d6294f131aefc00341dfdef7088cb2e5fc6d88504

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