Skip to content

drewp/monque

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 3 commits ahead of kurtiss:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Monque

Monque is a persistent job queue, written in Python, using MongoDB for storage. It is basically a MongoDB version of Dreque (http://github.com/samuel/dreque).

License

BSD License

See 'LICENSE' for details.

Usage

Submitting jobs:

from monque import Monque, job

@job()
def some_job(argument):
    pass

monque = Monque(mongodb)
monque.enqueue(some_job(argument), queue = 'my_queue')

Worker:

from monque import Monque, MonqueWorker

monque = Monque(mongodb)
worker = monque.new_worker(queue = 'my_queue')
worker.work()

About

A persistent job queue, written in Python, using MongoDB for storage. Based on git://github.com/samuel/dreque.git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%