https://github.com/fetchai/babble

A python client library for sending messages via the memorandum service

https://github.com/fetchai/babble

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

A python client library for sending messages via the memorandum service

Basic Info
  • Host: GitHub
  • Owner: fetchai
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 132 KB
Statistics
  • Stars: 2
  • Watchers: 13
  • Forks: 8
  • Open Issues: 2
  • Releases: 8
Created about 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Babble


Ruff PyPI - Python Version

A simple python library for interacting with the Fetch.ai messaging service (called Memorandum)

Quick Example

```python 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

Owner

  • Name: Fetch.AI
  • Login: fetchai
  • Kind: organization

GitHub Events

Total
  • Release event: 3
  • Watch event: 1
  • Delete event: 4
  • Push event: 5
  • Pull request event: 8
  • Pull request review event: 3
  • Create event: 7
Last Year
  • Release event: 3
  • Watch event: 1
  • Delete event: 4
  • Push event: 5
  • Pull request event: 8
  • Pull request review event: 3
  • Create event: 7

Dependencies

.github/workflows/ci.yml actions
  • abatilo/actions-poetry v2 composite
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
.github/workflows/pr-title-lint.yml actions
  • amannn/action-semantic-pull-request v5.0.2 composite
poetry.lock pypi
  • attrs 22.2.0 develop
  • black 22.12.0 develop
  • click 8.1.3 develop
  • colorama 0.4.6 develop
  • exceptiongroup 1.1.0 develop
  • importlib-metadata 6.0.0 develop
  • iniconfig 2.0.0 develop
  • mypy-extensions 0.4.3 develop
  • packaging 23.0 develop
  • pathspec 0.10.3 develop
  • platformdirs 2.6.2 develop
  • pluggy 1.0.0 develop
  • pytest 7.2.1 develop
  • tomli 2.0.1 develop
  • typed-ast 1.5.4 develop
  • typing-extensions 4.4.0 develop
  • zipp 3.11.0 develop
  • asn1crypto 1.5.1
  • bech32 1.2.0
  • cached-property 1.5.2
  • certifi 2022.12.7
  • cffi 1.15.1
  • charset-normalizer 3.0.1
  • coincurve 17.0.0
  • cytoolz 0.12.1
  • ecdsa 0.18.0
  • eciespy 0.3.13
  • eth-hash 0.5.1
  • eth-keys 0.4.0
  • eth-typing 3.2.0
  • eth-utils 2.1.0
  • idna 3.4
  • pycparser 2.21
  • pycryptodome 3.16.0
  • pyjwt 2.6.0
  • requests 2.28.2
  • six 1.16.0
  • toolz 0.12.0
  • urllib3 1.26.14
pyproject.toml pypi
  • bech32 ^1.2.0
  • ecdsa ^0.18.0
  • eciespy ^0.3.13
  • pycryptodome ^3.16.0
  • pyjwt ^2.6.0
  • python ^3.7
  • requests ^2.28.2
.github/workflows/release.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite