Skip to main content

SPADE

https://img.shields.io/pypi/v/spade.svg https://img.shields.io/pypi/pyversions/spade.svg Continuous Integration Status Code Coverage Status Documentation Status https://img.shields.io/pypi/format/spade.svg

Smart Python Agent Development Environment

A multi-agent systems platform written in Python and based on instant messaging (XMPP).

Develop agents that can chat both with other agents and humans.

Features

  • Multi-agent platform based on XMPP

  • Presence notification allows the system to know the current state of the agents in real-time

  • Python >=3.6

  • Asyncio-based

  • Agent model based on behaviours

  • Supports FIPA metadata using XMPP Data Forms (XEP-0004: Data Forms)

  • Web-based interface

  • Use any XMPP server

Plugins

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

3.1.6 (2020-05-22)

  • Fixed coverage and ci.

3.1.5 (2020-05-21)

  • Fixed how to stop behaviours.

  • Fixed some tests.

  • Blackstyled code.

3.1.4 (2019-11-04)

  • Fixed issue with third party versions.

  • Use factories in tests.

  • Updated documentation and examples.

  • Minor bug fixing.

3.1.3 (2019-07-18)

3.1.2 (2019-05-14)

  • Hotfix docs.

3.1.1 (2019-05-14)

  • Added Python 3.7 support.

  • Added Code of Conduct.

  • Minor bugs fixed.

3.1.0 (2019-03-22)

  • Agents now run in a single event loop managed by the container.

  • Behaviors can be waited for using the “join” method.

  • To check if a behaviours is done you can now use the “is_done” method.

  • The “setup” method is now a coroutine.

  • New “quit_spade” helper to stop the whole process.

  • The “start” and “stop” methods change depending on the context, since it is the container who will properly start or stop the agent. They return a coroutine or a future depending on whether they are called from a coroutine or a synchronous method.

3.0.9 (2018-10-24)

  • Added raw parameter to allow raw web responses.

  • Changed default agent urls to the “/spade” namespace to avoid conflicts.

3.0.8 (2018-10-02)

  • Added a container mechanism to speedup local sends.

  • Added performance example.

  • Improved API doc.

  • Added container tests.

3.0.7 (2018-09-27)

  • Fixed bug when running FSM states.

  • Improved Message __str__.

  • Fixed bug when thread is not defined in a message.

  • aioxmpp send method is now in client instead of stream.

3.0.6 (2018-09-27)

  • Added statement to relinquish the cpu at each behaviour loop.

  • Message Thread is now stored as metadata for simplicity.

3.0.5 (2018-09-21)

  • Added JSON responses in web module.

  • Some improvements in aiothread management.

3.0.4 (2018-09-20)

  • Added coroutines to start agents from within other agents.

  • Improved API doc format.

3.0.3 (2018-09-12)

  • Rename internal templates to avoid conflicts.

  • Added API doc.

  • Minor bug fixes.

3.0.2 (2018-09-12)

  • Fixed presence notification updates.

  • Fixed FSM graphviz visualization.

  • Raise AuthenticationFailure Exception when user is not registered or user or password is wrong.

  • Import init improvements.

  • Attribute auto_register is now default True.

  • Improved documentation.

  • Other minor fixes.

3.0.1 (2018-09-07)

  • Minor doc fixings and improvements.

3.0.0 (2017-10-06)

  • Started writting 3.0 version.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spade-3.1.6.tar.gz (871.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spade-3.1.6-py2.py3-none-any.whl (31.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spade-3.1.6.tar.gz.

File metadata

  • Download URL: spade-3.1.6.tar.gz
  • Upload date:
  • Size: 871.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for spade-3.1.6.tar.gz
Algorithm Hash digest
SHA256 c7f4240d86eb93a6c4aca93bda824ef3642f03f2a927ebf760284e684733b7db
MD5 eed8971d4effb293d16b88ff2c345b13
BLAKE2b-256 4f3b94e1239bbf40805c5d4640d1099ed05ccb8b2d499b59d93ab3c5498a07fd

See more details on using hashes here.

File details

Details for the file spade-3.1.6-py2.py3-none-any.whl.

File metadata

  • Download URL: spade-3.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for spade-3.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ed549ed5f48d7b6761a2fdc0eb5acf630359f3516140e95ac90ec5ae1ae1504e
MD5 b8de8f4b19a338d975482e28f3ada2e6
BLAKE2b-256 68b13d2993d4607773aae0c62bb01ef0d6115431c492d7964f339c144faa655e

See more details on using hashes here.

Release history Release notifications | RSS feed

4.1.4

2 files

4.1.3

2 files

4.1.2

2 files

4.1.0

2 files

4.0.3

2 files

4.0.2

2 files

4.0.1

2 files

4.0.0

2 files

3.3.3

2 files

3.3.2

2 files

3.3.1

2 files

3.3.0

2 files

3.2.3

2 files

3.2.2

2 files

3.2.1

2 files

3.2.0

2 files

3.1.9

2 files

3.1.8

2 files

3.1.7

2 files

This release

3.1.6 This release

2 files

3.1.4

2 files

3.1.3

2 files

3.1.2

2 files

3.1.0

2 files

3.0.9

2 files

3.0.8

2 files

3.0.7

2 files

3.0.6

2 files

3.0.5

2 files

3.0.4

2 files

3.0.3

2 files

3.0.1

2 files

2.3.3

1 file

2.3.2

1 file

2.3.1

1 file

2.3

1 file

2.2.1

1 file

2.2

1 file

2.1.1

1 file

2.1

1 file

2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page