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.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.

Metadata

Release files for spade_pubsub 0.2.1

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.2.1
File Size Uploaded Provenance Actions
spade_pubsub-0.2.1.tar.gz 312.8 kB Without provenance Details for spade_pubsub-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 319.3 kB

Release files / spade_pubsub-0.2.1.tar.gz

Download URL spade_pubsub-0.2.1.tar.gz
Size 312.8 kB
Tags Source
SHA-256 checksum
How to use checksums
69c483bee6de9ca01eca537db5902a8c44837285f3fc05ced52b83da53edfccb
BLAKE2b-256 checksum
How to use checksums
3d3e016628d3219e0b790f78eed90d7e39696ee9b4e681b25cdf0e6ed7565b9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

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

Download URL spade_pubsub-0.2.1-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26fc0b999b83c6044de5c3e110260803159210d8e94f9a3350dea1f57c78eb32
BLAKE2b-256 checksum
How to use checksums
4805786eef8ac3b0f81b285e6d35124b934b3a7cd86d03101a5a7ea42a2deeb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Security for spade_pubsub 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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