
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
This library aims to simplify the common pattern of event processing. It simplifies the process of filtering, dispatching and pre-processing events as well as injecting dependencies in event processors.
The only requirement is that your events are regular python dictionaries.
Take a look at the following examples to get an overview of the features available! Of course, you can mix and combine them in any way you like to create more complex scenarios.
from event_processor import EventProcessor, Event
from event_processor.filters import Eq
event_processor = EventProcessor()
@event_processor.processor(Eq("service.type", "service_a"))
def process_service_a(event: Event):
return event["service"]["status"] == "up"
@event_processor.processor(Eq("service.type", "service_b"))
def process_service_b(event: Event):
return event["authorized"]
service_a_event = {
"service": {
"type": "service_a",
"status": "down"
}
}
service_b_event = {
"service": {
"type": "service_b",
"authorized": False
}
}
event_processor.invoke(service_a_event) # False
event_processor.invoke(service_b_event) # False
Find the full documentation on Read the Docs.
FAQs
Pythonic event-processing library based on decorators
We found that event-processor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.