{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"}],"enrichment":{"capability":"PyDispatcher implements a signal-dispatch system where multiple producers can send signals that multiple consumers listen for and handle via registered callbacks.","skillfed_tags":["event-driven","observer-pattern","decoupling"],"use_cases":["Decouple application components by having them communicate via signals rather than direct function calls or imports.","Build event-driven architectures where multiple handlers need to react to the same application event.","Implement plugin systems where plugins register callbacks for application lifecycle or data events.","Create observer patterns in frameworks to notify multiple listeners when underlying data changes."],"what_it_does":"PyDispatcher is a lightweight in-memory signal-dispatch library that decouples event producers from event consumers through a registration and routing mechanism. You register callback functions to listen for signals identified by a key and sender, then dispatch signals from anywhere in your code; all registered listeners for that signal-sender pair are invoked with the event data.\n\nThe library originated as a Python Cookbook recipe and is now used as the foundation for signal systems in other frameworks. It has no runtime dependencies and installs cleanly. However, the project is dormant\u2014the last release was 2023-02-17 and the last commit was 2024-05-15\u2014so it receives no active maintenance or new features, though the core mechanism is stable.","worth_installing":"Yes, if you need a lightweight, zero-dependency signal-dispatch mechanism and accept that the project is no longer actively maintained. The code is stable and battle-tested, making it suitable for production use in applications that don't require ongoing updates. Avoid it if you need active maintenance, bug fixes, or support for the latest Python features."},"id":"pydispatcher","links":{"html":"https://skillfed.io/packages/pydispatcher","md":"https://skillfed.io/packages/pydispatcher.md","pypi":"https://pypi.org/project/pydispatcher/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-02-17","license_spdx":null,"license_treatment":"permissive","name":"PyDispatcher","python_support":"unspecified","summary":"Multi-producer multi-consumer in-memory signal dispatch system"},"popularity":{"monthly_downloads":3380967,"position":2644,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.7"}
