Skip to main content

Evee is an event dispatcher port of the Symfony Event Dispatcher Component. It allows your applications to communicate with one another by dispatching and listening for events.

Project description


[![Code Climate](](
[![Scrutinizer Code Quality](](
[![Build Status](](
[![Coverage Status](](


This is a port for Python `v3.3+` of the Symfony Event Dispatcher `v3.0`.

This event dispatcher follows a pattern called the ["Mediator" pattern](

> In software engineering, the mediator pattern defines an object that encapsulates how a set of objects interact. This pattern is considered to be a behavioral pattern due to the way it can alter the program's running behavior.



### Dispatching simple events

from evee import EventDispatcher
from evee import Event

def pre_foo(self, event: Event, event_name: str):
print("pre_foo was called")

def post_foo(self, event: Event, event_name: str):
print("post_foo was called")

dispatcher = EventDispatcher()
dispatcher.add_listener('', pre_foo)
dispatcher.add_listener('', post_foo)
print('Doo Foo work')

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
evee-0.1.0-py3-none-any.whl (8.4 kB) Copy SHA256 hash SHA256 Wheel py3 Aug 18, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page