fetchai-babble


Namefetchai-babble JSON
Version 0.4.2 PyPI version JSON
download
home_pageNone
SummaryA simple python library for interacting with the Fetch.ai messaging service (called Memorandum)
upload_time2024-07-03 13:48:55
maintainerNone
docs_urlNone
authorFetch.AI Limited
requires_python<3.13,>=3.9
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

# Babble

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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fetchai-babble",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Fetch.AI Limited",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/63/23/28eda18ce56e50f8cb3cb1b250e9552dd6382a7c3630724411244888eb3f/fetchai_babble-0.4.2.tar.gz",
    "platform": null,
    "description": "[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n# Babble\n\nA simple python library for interacting with the Fetch.ai messaging service (called Memorandum)\n\n## Quick Example\n\n```python\nfrom babble import Client, Identity\n\n# create a set of agents with random identities\nclient1 = Client('agent1.....', Identity.generate())\nclient2 = Client('agent1.....', Identity.generate())\n\n# send a message from one client to another\nclient1.send(client2.delegate_address, \"why hello there\")\n\n# receive the messages from the other client\nfor msg in client2.receive():\n    print(msg.text)\n```\n\n## Developing\n\n**Install dependencies**\n\n    poetry install\n\n**Run examples**\n\n    poetry run ./examples/simple-e2e.py\n\n**Run tests**\n\n    poetry run pytest\n\n**Run formatter**\n\n    poetry run ruff check --fix && ruff format\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "A simple python library for interacting with the Fetch.ai messaging service (called Memorandum)",
    "version": "0.4.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0cc2b681c80e73f221f2c93a18ced50e6b9e496bc9121a23817fa6cc3717bcc",
                "md5": "dd024f40f1ec40f73ff7e64e5d661fef",
                "sha256": "a0694c1b07efed1a169b147f22328328de89f19adc9a58d6d22e4484d93e1d57"
            },
            "downloads": -1,
            "filename": "fetchai_babble-0.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd024f40f1ec40f73ff7e64e5d661fef",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 13057,
            "upload_time": "2024-07-03T13:48:54",
            "upload_time_iso_8601": "2024-07-03T13:48:54.237082Z",
            "url": "https://files.pythonhosted.org/packages/d0/cc/2b681c80e73f221f2c93a18ced50e6b9e496bc9121a23817fa6cc3717bcc/fetchai_babble-0.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "632328eda18ce56e50f8cb3cb1b250e9552dd6382a7c3630724411244888eb3f",
                "md5": "a1e2b58958990e2df5f87715c8af840a",
                "sha256": "7eee63d96f0d606875c3d324adbf8fc4142f211a17edb613492d851e0d6b1549"
            },
            "downloads": -1,
            "filename": "fetchai_babble-0.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a1e2b58958990e2df5f87715c8af840a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 10834,
            "upload_time": "2024-07-03T13:48:55",
            "upload_time_iso_8601": "2024-07-03T13:48:55.540914Z",
            "url": "https://files.pythonhosted.org/packages/63/23/28eda18ce56e50f8cb3cb1b250e9552dd6382a7c3630724411244888eb3f/fetchai_babble-0.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-03 13:48:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "fetchai-babble"
}
        
Elapsed time: 0.23592s