Metadata-Version: 2.1
Name: revent
Version: 1.6.2
Summary: Event util base on Redis
Home-page: https://github.com/lwzm/revent
Author: lwzm
Author-email: lwzm@qq.com
License: UNKNOWN
Description: # Revent
        
        ```
        pip install revent
        ```
        
        ### subscribe events
        
        ```python
        from revent import sub
        
        @sub
        def some_event_occurs(foo, bar, **others):
            foo
            bar
            blah...
        ```
        
        ### start listen events and run
        
        ```python
        from revent import loop
        
        # do some thing
        # ...
        # and
        
        loop()
        ```
        
        or auto subscribe events and run
        ```sh
        python -m revent module_xxx module_yyy
        ```
        
        ### optional environment variable
        
        ```
        URL_REDIS="redis://[:PASSWORD@]REDIS_HOST[:6379][/DB_INDEX]"
        URL_REDIS="redis://:xxxx@redis.host:12345/2"
        ```
        
Keywords: redis,event,util
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
