{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"Provides a publish-subscribe messaging system for event-driven architecture within a single Python process, where publishers send messages to named topics and subscribers receive them.","skillfed_tags":["event-driven","messaging","observer-pattern"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"Yes. Pypubsub is a stable, actively maintained library with no dependencies, permissive licensing, and broad Python version support. It solves a clear problem\u2014decoupled in-process messaging\u2014with 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."},"id":"pypubsub","links":{"html":"https://skillfed.io/packages/pypubsub","md":"https://skillfed.io/packages/pypubsub.md","pypi":"https://pypi.org/project/pypubsub/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-08","license_spdx":null,"license_treatment":"permissive","name":"Pypubsub","python_support":"supports_current","summary":"Python Publish-Subscribe Package"},"popularity":{"monthly_downloads":324044,"position":7599,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.0.7"}
