Metadata-Version: 1.1
Name: mnd
Version: 0.2.0
Summary: Match python args and dispatch based on their contents.
Home-page: https://github.com/stuaxo/mnd
Author: Stuart Axon
Author-email: stuaxo2@yahoo.com
License: MIT
Description: 
        Match 'n Dispatch
        
        
        Match python args and dispatch based on their contents.
        
        
        Getting started
        
        Create a dispatcher
        
        
        from mnd.dispatch import Dispatcher, handle
        d = Dispatcher()
        
        
        Use the handy decorator
        >>> @handler(d, msg="hello")
        >>> def say(msg=None):
        ...     print "got message: ", msg
        
        
        Try dispatching some events
        ```python
        >>> d.dispatch(msg="gets filtered out..."))
        >>> d.dispatch(msg="hello"))
        got message: hello
        
        
        Install
        
        $ pip install mnd
        
Keywords: match dispatch
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
