Metadata-Version: 1.1
Name: basicevents
Version: 0.1.4
Summary: python events non-blocking
Home-page: https://github.com/kianxineki/basicevents
Author: Alberto Galera Jimenez
Author-email: galerajimenez@gmail.com
License: GPL
Description: BasicEvents
        ===========
        
        python basic events send non-blocking
        
        Install
        -------
        
        .. code:: bash
        
            pip install basicevents
        
        Link pypi: https://pypi.python.org/pypi/basicevents
        
        Example
        -------
        
        .. code:: python
        
            # recommeded check all examples
            from basicevents import subscribe, send
        
            @subscribe("pepito")
            def example(*args, **kwargs):
                print "recv signal, values:", args, kwargs
        
            # add to queue signals (non-blocking)
            send("pepito", 1, 2, 3, example="added queue")
        
            # create new thread for this request (non-blocking)
            send("pepito", 1, 2, 3, example="new thread", instant=True)
        
        Documentation functions
        -----------------------
        
        Only two functions!
        
        @subscribe(name\_event) With this decorator you can subscribe to all
        events that are sent to name\_event.
        
        send(name\_event, \*args, \*\*kwargs) If caught in a parameter called
        instant in kwargs with True call is placed in a new thread.
        
        -  Note: Currently running as thread to allow sharing of memory, if you
           want an event to use more CPU (cores), you can run processes within
           the event.
        
        
        
        CHANGELOG
        =========
        
        0.1.4 (2015-08-12)
        ------------------
        
        -  update documentation
        -  remove instant key in kwargs
        
        0.1.3 (2015-08-12)
        ------------------
        
        -  Added changelog
        -  Auto convert md to rst in setup.py
        
        
Keywords: basicevents
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
