Metadata-Version: 2.1
Name: distask
Version: 0.1.2
Summary: a distribute task scheduler 
Home-page: UNKNOWN
Author: tickbh
Author-email: tickdream125@hotmail.com
License: MIT Licence
Description: 
        
        a distribute task scheduler
        
        example
        
        ```python
        from distask import create_scheduler, task, register_job
        client_data = {
            "t": "mongo",
            "args": ["mongodb://admin:123456@192.168.99.27:27017"]
        }
        lock_data = {
            "t": "rllock",
            "reentrant":True, 
            "connection_details":connection_details, 
            "ttl":10_000
        }
        scheduler = create_scheduler(client_data, lock_data, serialize="json", groups=['test'], limit=1, maxwait=5)
        
        @register_job(scheduler, "interval", args=(12, 123), group="test", subgroup="ssss", seconds=3)
        def test1(times, aa=None, bb=None, *args):
            print("test---------------------", util.time_now())
        
        ```
Keywords: distribute scheduling cron
Platform: any
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: extra
