Metadata-Version: 1.1
Name: TaskScheduler
Version: 0.0.4
Summary: Scheduler schedules python tasks to run at some delay time later
Home-page: https://github.com/Richard-Mathie/pyScheduler
Author: Richard Mathie
Author-email: richard.mathie@cantab.net
License: MIT
Description-Content-Type: UNKNOWN
Description: TaskScheduler
        =============
        
        scheduler schedules python tasks to run at some delay time later.
        
        Usage
        -----
        
        install
        
        ::
        
            pip install TaskScheduler
        
        run some tasks some time later
        
        .. code:: python
        
            from scheduler import Scheduler
        
        
            def hello_world(words):
                print "Hello World! ", words
        
        
            s = Scheduler()
            s.daemon = True  # so the thread plays nice with shut down
        
            # Add a task before starting the execution thread
            s.schedule_task(5, hello_world, (" 5 seconds later",))
        
            # start the execution thread
            s.start()
        
            # Add more tasks
            task = s.schedule_task(3, hello_world, ("Another Task",))
        
        
            # reschedule a task
            task.delay = 4
            s.reschedule_task(task, )
        
            # delete a task
            s.remove_task(task)
        
        
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
