fetchai-babble


Namefetchai-babble JSON
Version 0.4.1 PyPI version JSON
download
home_page
SummaryA simple python library for interacting with the Fetch.ai messaging service (called Memorandum)
upload_time2024-03-06 13:18:36
maintainer
docs_urlNone
authorFetch.AI Limited
requires_python>=3.7,<4.0
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 black .

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fetchai-babble",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Fetch.AI Limited",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f0/fb/45c78ed697580cf1cfeb65fd7747de770834315c44f037655ef251e66e6b/fetchai_babble-0.4.1.tar.gz",
    "platform": null,
    "description": "# 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 black .\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.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f434fdf0dfdbc1fc57d27ed6baa5f1d71e5ad4b98615800613e574e9c036eba2",
                "md5": "38e724a29fc9c9f2afc6b3a083fb6976",
                "sha256": "96de5491145e8ed311f526f1516eed4807d99b1eda9fc221c5027b22a72f2ef5"
            },
            "downloads": -1,
            "filename": "fetchai_babble-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "38e724a29fc9c9f2afc6b3a083fb6976",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 12587,
            "upload_time": "2024-03-06T13:18:35",
            "upload_time_iso_8601": "2024-03-06T13:18:35.665280Z",
            "url": "https://files.pythonhosted.org/packages/f4/34/fdf0dfdbc1fc57d27ed6baa5f1d71e5ad4b98615800613e574e9c036eba2/fetchai_babble-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0fb45c78ed697580cf1cfeb65fd7747de770834315c44f037655ef251e66e6b",
                "md5": "db81f8b34aebacda0ce0aecea755d4e4",
                "sha256": "03220e7c42feb1344f10f8c3f157508c58496b34303259960fafcd3fff0d4d3b"
            },
            "downloads": -1,
            "filename": "fetchai_babble-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "db81f8b34aebacda0ce0aecea755d4e4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 10306,
            "upload_time": "2024-03-06T13:18:36",
            "upload_time_iso_8601": "2024-03-06T13:18:36.661440Z",
            "url": "https://files.pythonhosted.org/packages/f0/fb/45c78ed697580cf1cfeb65fd7747de770834315c44f037655ef251e66e6b/fetchai_babble-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-06 13:18:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "fetchai-babble"
}
        
Elapsed time: 0.19016s