<commit_before>
from zope.interface import implementer
from zope.interface.interfaces import IObjectEvent
from zope.interface import Attribute


class IObjectPublished(IObjectEvent):
    """ An event type sent when an object is published """
    object = Attribute('The object being published')


@implementer(IObjectPublished)
class ObjectPublished(object): # pragma: no cover
    """ An event sent when an object has been published."""
    def __init__(self, object):
        self.object = object


class ICorrelableRemoved(IObjectEvent):
    """ An event type sent when an object is removed """
    object = Attribute('The object being removed')


@implementer(ICorrelableRemoved)
class CorrelableRemoved(object): # pragma: no cover
    """ An event sent when an object has been removed."""
    def __init__(self, object):
        self.object = object<commit_msg>add license<commit_after># Copyright (c) 2015 by Ecreall under licence AGPL terms 
# avalaible on http://www.gnu.org/licenses/agpl.html 

# licence: AGPL
# author: <NAME>

from zope.interface import implementer
from zope.interface.interfaces import IObjectEvent
from zope.interface import Attribute


class IObjectPublished(IObjectEvent):
    """ An event type sent when an object is published """
    object = Attribute('The object being published')


@implementer(IObjectPublished)
class ObjectPublished(object): # pragma: no cover
    """ An event sent when an object has been published."""
    def __init__(self, object):
        self.object = object


class ICorrelableRemoved(IObjectEvent):
    """ An event type sent when an object is removed """
    object = Attribute('The object being removed')


@implementer(ICorrelableRemoved)
class CorrelableRemoved(object): # pragma: no cover
    """ An event sent when an object has been removed."""
    def __init__(self, object):
        self.object = object
{'fraction_non_alphanumeric': 0.09168443496801706, 'fraction_numerical': 0.0021321961620469083, 'mean_word_length': 4.332386363636363, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6297768', 'n_tokens_mistral': 521, 'n_tokens_neox': 502, 'n_words': 186}