{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"Observable provides a lightweight event system that lets you register handler functions to trigger on named events and invoke them programmatically.","skillfed_tags":["event-driven","abandoned-but-stable"],"use_cases":["Decouple error handling from core logic by registering error handlers that trigger on specific failure conditions.","Build simple plugin systems where external code registers handlers for application lifecycle events.","Implement state-change notifications so multiple parts of an application react when data changes.","Create callback chains for asynchronous workflows without introducing heavy async/await complexity.","Prototype event-driven architectures before committing to a larger framework."],"what_it_does":"Observable is a minimalist event system for Python that lets you attach handler functions to named events and trigger them on demand. It supports both decorator-style registration (`@obs.on(\"event_name\")`) and direct method calls, and provides utilities to remove handlers, check registration status, and manage events. The package has no external dependencies and installs cleanly.\n\nTypical usage involves creating an Observable instance, registering event handlers, and calling `trigger()` to invoke them with arbitrary arguments. It's designed for simple event-driven architectures where you need decoupled communication between different parts of your code\u2014for example, error handling, state changes, or user actions. The package is stable and production-ready in its API, but has not been maintained since early 2020.","worth_installing":"Yes, for small to medium projects that need lightweight event handling without external dependencies. The API is simple and stable. However, do not use for new projects requiring ongoing maintenance or Python version support beyond 3.7\u2014the package is abandoned and will not receive updates. Consider it only when you need a minimal, self-contained event system and can tolerate no future fixes."},"id":"observable","links":{"html":"https://skillfed.io/packages/observable","md":"https://skillfed.io/packages/observable.md","pypi":"https://pypi.org/project/observable/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-09-20","license_spdx":null,"license_treatment":"permissive","name":"observable","python_support":"unspecified","summary":"minimalist event system"},"popularity":{"monthly_downloads":156647,"position":10779,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
