Metadata-Version: 1.1
Name: pymitter
Version: 0.2.3
Summary: Python port of the extended Node.js EventEmitter 2 approach providing namespaces, wildcards and TTL.
Home-page: https://github.com/riga/pymitter
Author: Marcel Rieger
Author-email: marcelrieger@icloud.com
License: UNKNOWN
Description: pymitter
        ========
        
        Python port of the extended Node.js EventEmitter 2 approach providing
        namespaces, wildcards and TTL.
        
        
        Example
        -------
        
        ::
        
            from pymitter import EventEmitter
        
            ee = EventEmitter()
        
            # decorator usage
            @ee.on("myevent")
            def handler1(arg):
                print "handler1 called with", arg
        
            # callback usage
            def handler2(arg):
                print "handler2 called with", arg
            ee.on("myotherevent", handler2)
        
            # emit
            ee.emit("myevent", "foo")
            # -> "handler1 called with foo"
        
            ee.emit("myotherevent", "bar")
            # -> "handler2 called with bar"
        
        
        Source code and more info at https://github.com/riga/pymitter.
        
        
Keywords: event,emitter,eventemitter,wildcard,node,nodejs
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
