{ "info": { "author": "Sergio Frayle P\u00e9rez", "author_email": "sfp932705@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=========\nSpade-BDI\n=========\n\n\n.. image:: https://img.shields.io/pypi/v/spade_bdi.svg\n :target: https://pypi.python.org/pypi/spade_bdi\n\n.. image:: https://img.shields.io/travis/sfp932705/spade_bdi.svg\n :target: https://travis-ci.org/sfp932705/spade_bdi\n\n.. image:: https://readthedocs.org/projects/spade-bdi/badge/?version=latest\n :target: https://spade-bdi.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/sfp932705/spade_bdi/shield.svg\n :target: https://pyup.io/repos/github/sfp932705/spade_bdi/\n :alt: Updates\n\n\n\nImplement BDI Agents based on the SPADE MAS Platform\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://spade-bdi.readthedocs.io. (to be done)\n\n\nFeatures\n--------\n\n* Create agents that parse and execute an ASL file written in AgentSpeak.\n\nExamples\n--------\n\nbasic.py::\n\n import argparse\n from spade_bdi.bdi import BDIAgent\n\n parser = argparse.ArgumentParser(description='spade bdi master-server example')\n parser.add_argument('--server', type=str, default=\"localhost\", help='XMPP server address.')\n parser.add_argument('--password', type=str, default=\"bdipassword\", help='XMPP password for the agents.')\n args = parser.parse_args()\n\n a = BDIAgent(\"BasicAgent@\" + args.server, args.password, \"basic.asl\")\n a.start()\n\n a.bdi.set_belief(\"car\", \"blue\", \"big\")\n a.bdi.print_beliefs()\n\n print(a.bdi.get_belief(\"car\"))\n a.bdi.print_beliefs()\n\n a.bdi.remove_belief(\"car\", 'blue', \"big\")\n a.bdi.print_beliefs()\n\n print(a.bdi.get_beliefs())\n a.bdi.set_belief(\"car\", 'yellow')\n\n\nbasic.asl::\n\n !start.\n\n +!start <-\n +car(red);\n .a_function(3,W);\n .print(\"w =\", W);\n literal_function(red,Y);\n .print(\"Y =\", Y);\n .custom_action(8);\n +truck(blue).\n\n +car(Color) \n <- .print(\"The car is \",Color).\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.4 (2019-07-10)\n------------------\n\n* Allow to send messages to JIDs stored as beliefs.\n\n0.1.3 (2019-07-08)\n------------------\n\n* Allow .send to a list of receivers.\n* Allow to receive messages with lists of lists.\n* Fixed readme.\n\n0.1.1 (2019-06-18)\n------------------\n\n* Moved from pyson to python-agentspeak\n* Added some helpers like pause_bdi, resume_bdi. \n* Now the asl file in the constructor is mandatory.\n* Allow to send tell messages with no args.\n* Allow sending messages with variables.\n* Extended the examples.\n\n0.1.0 (2019-03-09)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sfp932705/spade_bdi", "keywords": "spade_bdi", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "spade-bdi", "package_url": "https://pypi.org/project/spade-bdi/", "platform": "", "project_url": "https://pypi.org/project/spade-bdi/", "project_urls": { "Homepage": "https://github.com/sfp932705/spade_bdi" }, "release_url": "https://pypi.org/project/spade-bdi/0.1.4/", "requires_dist": [ "spade (>=3.1.2)", "agentspeak (==0.1.0)", "loguru (==0.2.5)" ], "requires_python": "", "summary": "Plugin for SPADE 3 MAS platform to implement BDI Agents.", "version": "0.1.4" }, "last_serial": 5511725, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6a127895a35c2117d95c6c7c1840840f", "sha256": "332cb0212297417fc0a3f11d71eea14084a652e00f2badd6ca7ac09701efff43" }, "downloads": -1, "filename": "spade_bdi-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a127895a35c2117d95c6c7c1840840f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5736, "upload_time": "2019-06-13T18:24:49", "url": "https://files.pythonhosted.org/packages/51/80/3a8e87a3a3ae0d71cc5345e95f2e412c8fc2bf17d6c56f386bed37109666/spade_bdi-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8cea311ca693e3788af3690ddfda2d23", "sha256": "72d7fa501e32cef08d5ce2e9ef6eec076ab454742f7b610b6fb5c463fa932b3f" }, "downloads": -1, "filename": "spade_bdi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8cea311ca693e3788af3690ddfda2d23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10689, "upload_time": "2019-06-13T18:24:51", "url": "https://files.pythonhosted.org/packages/fa/96/fabd1aaf9ebcb464d00b0f3de8f0b101d2c8a60aac7ac376b803ec1805e8/spade_bdi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d250bc11d0decb4b2689ab16a9b6e75b", "sha256": "a876d79ce515b98986adda03b94ca9ce40bbb6429ef8a168eb1e2d913c4c3e99" }, "downloads": -1, "filename": "spade_bdi-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d250bc11d0decb4b2689ab16a9b6e75b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5774, "upload_time": "2019-06-18T11:27:19", "url": "https://files.pythonhosted.org/packages/5b/21/ca09e048c3714644609274966e0dc8b869277dd7b4cc52242ff54319a873/spade_bdi-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "46be2a7b5cdc9f81f4a2de56ffc02e0b", "sha256": "c923e77e28d6ac6858178e80d873a5400cf386b8a938ae34f77392479d096075" }, "downloads": -1, "filename": "spade_bdi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "46be2a7b5cdc9f81f4a2de56ffc02e0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10738, "upload_time": "2019-06-18T11:27:20", "url": "https://files.pythonhosted.org/packages/8d/2e/caf5dc3976ab959dc24c648f73e6db1405f079b36daa25cb80cdedf40d40/spade_bdi-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c8cb0b82ea32cbf01024a384aa7c6203", "sha256": "97d795b15c1a76dc418257de0ca0623e8b654976fabba001d12bada571e12577" }, "downloads": -1, "filename": "spade_bdi-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c8cb0b82ea32cbf01024a384aa7c6203", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6416, "upload_time": "2019-07-08T16:15:21", "url": "https://files.pythonhosted.org/packages/e2/3f/0c92b6e5751ce6cd676fc03cebd19a6a0fc9c3f228c7f9fedea5d13dc96a/spade_bdi-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa7e947b7c1573f4455a00f6030b5818", "sha256": "b93dcb966865db154bc93784f40b80a4f292ecbac7b0d714932080e1f6dd1df9" }, "downloads": -1, "filename": "spade_bdi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fa7e947b7c1573f4455a00f6030b5818", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12134, "upload_time": "2019-07-08T16:15:22", "url": "https://files.pythonhosted.org/packages/95/8e/3bd291f82fb41c6b0ba630f9f6b092dd61a5ed2ddd9a9b9a224bdad45021/spade_bdi-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ab96daac75822d94bbf3ab3d5656ade6", "sha256": "a755d6b13b01657c6146cae56c150b7d247ffea94621c638ad826dd5b4d0bb2e" }, "downloads": -1, "filename": "spade_bdi-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab96daac75822d94bbf3ab3d5656ade6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6451, "upload_time": "2019-07-10T12:07:35", "url": "https://files.pythonhosted.org/packages/23/0f/27f848fd92e603e4db0bc12e631d08bc00f6bcfdc1b0dd8e2d152656cce7/spade_bdi-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "67b7d62864de714563738dfc151d6a92", "sha256": "91ecfcf4484f39498d440f8a73e8893c7e63e4906039a70ee7faf9e37d0bb217" }, "downloads": -1, "filename": "spade_bdi-0.1.4.tar.gz", "has_sig": false, "md5_digest": "67b7d62864de714563738dfc151d6a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12206, "upload_time": "2019-07-10T12:07:37", "url": "https://files.pythonhosted.org/packages/d5/05/027b6a5689e610f6d386c373db4b9c2ed10ebae70b06da2ee02af6173b59/spade_bdi-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab96daac75822d94bbf3ab3d5656ade6", "sha256": "a755d6b13b01657c6146cae56c150b7d247ffea94621c638ad826dd5b4d0bb2e" }, "downloads": -1, "filename": "spade_bdi-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab96daac75822d94bbf3ab3d5656ade6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6451, "upload_time": "2019-07-10T12:07:35", "url": "https://files.pythonhosted.org/packages/23/0f/27f848fd92e603e4db0bc12e631d08bc00f6bcfdc1b0dd8e2d152656cce7/spade_bdi-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "67b7d62864de714563738dfc151d6a92", "sha256": "91ecfcf4484f39498d440f8a73e8893c7e63e4906039a70ee7faf9e37d0bb217" }, "downloads": -1, "filename": "spade_bdi-0.1.4.tar.gz", "has_sig": false, "md5_digest": "67b7d62864de714563738dfc151d6a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12206, "upload_time": "2019-07-10T12:07:37", "url": "https://files.pythonhosted.org/packages/d5/05/027b6a5689e610f6d386c373db4b9c2ed10ebae70b06da2ee02af6173b59/spade_bdi-0.1.4.tar.gz" } ] }