Skip to main content

SPADE PubSub

https://img.shields.io/pypi/v/spade_pubsub.svg Python Versions Languages Code Size MIT License Downloads Continuous Integration Status Code Coverage Status Documentation Status https://img.shields.io/pypi/format/spade.svg

SPADE Plugin for PubSub support. SPADE PubSub is a plugin that extends the SPADE (Smart Python Agent Development Environment) framework with publish-subscribe communication capabilities. It enables SPADE agents to leverage the XMPP PubSub extension for efficient, decoupled communication patterns in multi-agent systems.

Purpose and Scope

This plugin provides a clean, agent-oriented interface to the XMPP Publish-Subscribe Extension (XEP-0060), allowing SPADE agents to:

  • Create and manage PubSub nodes

  • Subscribe to nodes of interest

  • Publish content to nodes

  • Receive notifications when content is published

  • Manage subscriptions and published items

SPADE PubSub serves as a bridging layer between SPADE’s agent-oriented architecture and the underlying XMPP Pu

Features

  • Node Creation and Management: Agents can create, delete, and purge nodes on a PubSub server, allowing flexible management of communication channels.

  • Subscription to Nodes: Agents have the capability to subscribe and unsubscribe from specific nodes, facilitating the reception of relevant updates.

  • Item Publication: Agents can publish items to subscribed nodes, efficiently distributing information to all subscribers.

  • Item Management: It’s possible to retrieve all items published on a node and retract specific items when necessary.

  • Notifications Without Items: Agents can send notifications to all subscribers of a node without the need to publish an item, useful for alerts or signals.

  • Custom Callbacks: Functions can be registered to handle events such as item publication or retraction, allowing personalized responses to these events.

Credits

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

History

0.3.0 (2025-07-16)

  • Add support for slixmpp

0.2.1 (2025-05-19)

  • Refactor code to imitate the response format of aioxmpp

  • Improve documentation

0.2.0 (2024-12-17)

  • Migration to the Slixmpp library for PubSub operations

  • Refactor and fix of the previous tests

0.1.3 (2021-06-29)

  • Minor bug fixed.

0.1.2 (2021-06-25)

  • First release on PyPI.

Release files for spade-pubsub 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spade-pubsub 0.3.0
File Size Uploaded
spade_pubsub-0.3.0.tar.gz 308.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spade-pubsub 0.3.0
File Interpreter ABI Platform
spade_pubsub-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 315.0 kB

Release files / spade_pubsub-0.3.0.tar.gz

Download URL spade_pubsub-0.3.0.tar.gz
Size 308.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aa78b6dc3fa5df2bd42e1042ea956bda7790b183e9383a5fa7ed68193d987ec2
BLAKE2b-256 checksum
How to use checksums
aa13e3971115ef64d6f8878b8f8e26c324ec41e41b4a675b0e2a9585216ce1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / spade_pubsub-0.3.0-py2.py3-none-any.whl

Download URL spade_pubsub-0.3.0-py2.py3-none-any.whl
Size 6.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
efc775a61b871050f00e363be5a18f8219a3c668d20efb0f349d271950f54096
BLAKE2b-256 checksum
How to use checksums
b1fc63802a5c5c781ffa1e37284c90eef76ad61de68161e582cc4e90b6124c1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

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