Metadata-Version: 1.1
Name: pysubpub
Version: 0.1.0
Summary: Publish-Subscribe framework
Home-page: https://github.com/jldupont/pysubpub
Author: Jean-Lou Dupont
Author-email: jl@jldupont.com
License: UNKNOWN
Description: 
        Overview
        --------
        
        This package offers a "publish-subscribe" framework.
        
        The framework can be used to implement basic "actors" where each "actor" is contained in a python module.
        The function "upub" can be used to queue a message in front instead of the normal tail. 
        
        Small Example
        -------------
        
           ## Actor 1 in module1.py
           ##
           from subpub import sub, pub
            
           @sub
           def on_topic1(param1):
             print "module1/topic1: ", param1
        
           @sub
           def on_topic2(param1):
             print "module1/topic2: ", param1
                
        
           ## Actor 2 in module2.py
           ##
           from subpub import sub, pub
            
           @sub
           def on_topic1(param1):
             print "module2/topic1: ", param1
                
           pub("topic1", "value1")
           pub("topic2", "value2")
            
        
        The example above would yield:
        
            "module1/topic1: value1"
            "module2/topic1: value1"
            "module1/topic2: value2"
            
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
