{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"}],"enrichment":{"capability":"pyeventsystem provides event-driven middleware for Python, allowing you to subscribe to events, intercept function calls, and inject middleware before, after, or in place of function execution.","skillfed_tags":["event-driven","middleware","abandoned"],"use_cases":["Building plugin systems where middleware classes can be registered and executed in a defined order around core functions.","Implementing logging or monitoring that wraps function calls without modifying the original code.","Creating pre- and post-processing pipelines for data transformation or validation.","Intercepting function calls to add cross-cutting concerns like authentication or error handling.","Organizing event handlers into reusable middleware classes for complex applications."],"what_it_does":"pyeventsystem is a lightweight event-driven middleware library that lets you build systems around event subscription and function interception. It uses decorators to mark functions as event dispatchers or observers, and groups them into middleware classes for organized management. The core idea is that you can hook into function execution at multiple points\u2014before, after, or replacing the call entirely\u2014using a priority-based system to control execution order.\n\nThe library is designed for scenarios where you want middleware-style behavior without a full framework. You define event names using dot notation, attach handlers with priorities, and the system routes events through them in order. However, the package has been abandoned since 2019-02-18 and targets outdated Python versions, so it carries maintenance risk for new projects.","worth_installing":"No. While the library is simple to install and has no dependencies, it is abandoned (last updated 2019-02-18) and targets obsolete Python versions (2.7, 3.6). For new projects, use a maintained alternative or a framework's built-in event system. Only consider it if you are maintaining legacy code that already depends on it."},"id":"pyeventsystem","links":{"html":"https://skillfed.io/packages/pyeventsystem","md":"https://skillfed.io/packages/pyeventsystem.md","pypi":"https://pypi.org/project/pyeventsystem/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-02-18","license_spdx":null,"license_treatment":"permissive","name":"pyeventsystem","python_support":"unspecified","summary":"An event driven middleware library for Python"},"popularity":{"monthly_downloads":107405,"position":12615,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
