Metadata-Version: 1.0
Name: workerprocess
Version: 0.1.0
Summary: A tool for creating external worker processes
Home-page: https://github.com/philipcristiano/worker_process
Author: Philip Cristiano
Author-email: worker_process@philipcristiano.com
License: BSD
Description: Worker Process
        ==============
        
        This package provides a wrapper to create standalone worker processes.
        
        Example Worker
        ======================
        
        Workers are created by extending the BaseWorker class and implementing a tick
        method to execute then calling .main() on the class. This will start an
        infinite loop calling that function.
        
        The worker can be stopped gracefully by sending a SIGTERM to the process.
        
        >>> import time
        ...
        ... from workerprocess import BaseWorker
        ...
        ...
        ... class ExampleWorker(BaseWorker):
        ...
        ...     def tick(self):
        ...         print 'Tick!'
        ...         time.sleep(1)
        ...
        ... ExampleWorker.main()
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
