$npx skillfedfor your agent

Pypubsub

Python Publish-Subscribe Package

Worth itPyPI Python ModulesReleased Dec 2025324.0K downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pypubsub-4.0.7-py3-none-any.whl
v4.0.7 · released 2025-12-08 · Python >=3.7

Yes. Pypubsub is a stable, actively maintained library with no dependencies, permissive licensing, and broad Python version support. It solves a clear problem—decoupled in-process messaging—with a simple, proven API. Choose it if you need event-driven architecture within a single process and want to avoid the complexity of external message brokers.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Low friction: pure Python with no runtime dependencies, distributed as a wheel, and actively maintained with a recent release in December 2025.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

last release 2025-12-08 (249 days) · last repo commit 2026-02-28 · 212 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 324,044 downloads/mo, #7,599 on PyPI

Verify before relying

pip install pypubsub

import pypubsub

# Subscribe a listener to a topic, then send a message to it
  • Specific API methods and call signatures for subscribing listeners and sending messages.
  • Whether the package supports thread-safe or async message delivery patterns beyond basic synchronous dispatch.
  • Performance characteristics when handling high message volume or deeply nested topic hierarchies.
Same gist for agents: .md · .json

What it is and what it does

Pypubsub is a pure-Python publish-subscribe library that implements event-driven messaging within a single process. It centers on the concept of topics: publishers send messages to named topics, and subscribers register listeners to receive those messages. The package works on Python 3.7 through 3.14 and has no external runtime dependencies, making it lightweight and easy to integrate into desktop or server applications.

The library is designed for applications that need decoupled, event-based communication between components running in the same process. It supports advanced features for debugging and managing topics and messages in larger applications, though the core use case is straightforward topic-based message dispatch where senders and receivers don't need to know about each other directly.

Use it for

  • Build event-driven GUI applications where UI components emit and listen to application state changes without tight coupling.
  • Implement observer patterns in server applications where different modules need to react to the same business events.
  • Create plugin architectures where plugins can subscribe to and emit events without direct dependencies on each other.
  • Decouple data model updates from view updates in desktop applications using topic-based notifications.
  • Coordinate multi-step workflows where each step publishes completion events that trigger downstream actions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Pypubsub is a stable, actively maintained library with no dependencies, permissive licensing, and broad Python version support. It solves a clear problem—decoupled in-process messaging—with a simple, proven API. Choose it if you need event-driven architecture within a single process and want to avoid the complexity of external message brokers.

Install

pypubsub on PyPI

Before you install

Low friction: pure Python with no runtime dependencies, distributed as a wheel, and actively maintained with a recent release in December 2025.

Requires Python 3.7 or later.

License in practice

BSD-2-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

pip install pypubsub

import pypubsub

# Subscribe a listener to a topic, then send a message to it

Verify before relying

  • Specific API methods and call signatures for subscribing listeners and sending messages.
  • Whether the package supports thread-safe or async message delivery patterns beyond basic synchronous dispatch.
  • Performance characteristics when handling high message volume or deeply nested topic hierarchies.

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 249 days since the last release
Last repo commit
First released
Downloads324,044 / month, #7,599 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Natural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Evidence: pypubsub-4.0.7-py3-none-any.whl

Tags

Capabilities
publish subscribe messagingevent-driven architecture pythonobserver pattern implementationtopic-based message dispatchin-process event systemsignal and event handlingmessage broker single process
Topics
event-drivenmessagingobserver-pattern
PyPI keywords
publishsubscribeobserversignalsignalseventeventsmessagemessagesmessagingdispatchdispatching

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “topic-based message dispatch”

  • PypubsubProvides a publish-subscribe messaging system for event-driven…
  • google-cloud-pubsublitePython client library for Google Cloud Pub/Sub Lite, providing…
  • channels-redisProvides Redis-backed channel layers for Django Channels, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also Events · pubnub · blinker · solace-pubsubplus · psygnal · azure-messaging-webpubsubservice · google-cloud-pubsub · azure-servicebus · azure-eventhub · wslink