<commit_before>pyee
======

.. image:: https://travis-ci.org/jesusabdullah/pyee.png
   :target: https://travis-ci.org/jesusabdullah/pyee

pyee supplies an ``EventEmitter`` object similar to the ``EventEmitter``
from Node.js.

Example:
--------

::

    In [1]: from pyee import EventEmitter

    In [2]: ee = EventEmitter()

    In [3]: @ee.on('event')
       ...: def event_handler():
       ...:     print 'BANG BANG'
       ...:

    In [4]: ee.emit('event')
    BANG BANG

    In [5]:

Easy-peasy.


Installation:
-------------
<commit_msg>Update travvy links<commit_after>pyee
======

.. image:: https://travis-ci.org/jfhbrook/pyee.png
   :target: https://travis-ci.org/jfhbrook/pyee

pyee supplies an ``EventEmitter`` object similar to the ``EventEmitter``
from Node.js.

Example:
--------

::

    In [1]: from pyee import EventEmitter

    In [2]: ee = EventEmitter()

    In [3]: @ee.on('event')
       ...: def event_handler():
       ...:     print 'BANG BANG'
       ...:

    In [4]: ee.emit('event')
    BANG BANG

    In [5]:

Easy-peasy.


Installation:
-------------

{'fraction_non_alphanumeric': 0.20848708487084872, 'fraction_numerical': 0.00922509225092251, 'mean_word_length': 2.200589970501475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '2578159', 'n_tokens_mistral': 408, 'n_tokens_neox': 397, 'n_words': 90}