Metadata-Version: 1.1
Name: onany
Version: 0.1.2
Summary: Event manager library
Home-page: https://github.com/vinyguedess/onany
Author: Vinicius Guedes
Author-email: viniciusgued@gmail.com
License: MIT
Download-URL: https://github.com/vinyguedess/onany/archive/master.zip
Description: ========================
        OnAny... thing happening
        ========================
        
        OnAny is a simple yet powerful event manager library, where you can declare listeners and dispatch as much events as needed to them.
        
        How To
        ======
        To listen and dispatch events is very simple:
        
        .. code :: python
            
            from onany import dispatch, listener
        
            @listener("event.name")
            def on_event_name(*args, **kwargs):
                print("I've been called with {} and {}".format(
                    args,
                    kwargs
                ))
        
            >>> dispatch(
                "event.name",
                "first_param",
                "second_param",
                "third_param",
                first="param",
                second="param",
                third="param")
        
Keywords: event,events,listener,dispatch
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
