Simple job queues for Python
Go to file
Vincent Driessen a5a8925608 Add an actual awesome worker structure.
To put messages on queues, use this:

    @job('normal')
    def foo(x, y):
        return x + y

    foo.delay(4, 5)

To run workers, start any number of these:

    $ python runworker.py high normal low

You can give arbitrary queue names, they are not limited to these
priority-based names.  They just serve as a useful example.
2011-11-13 22:19:09 +01:00
__init__.py Add an actual awesome worker structure. 2011-11-13 22:19:09 +01:00
daemon.py Add an actual awesome worker structure. 2011-11-13 22:19:09 +01:00
worker.py Add an actual awesome worker structure. 2011-11-13 22:19:09 +01:00