1
Celery is excellent, and the way to go for most background tasks. It has a learning curve, but it is well worth it if you intend to use this pattern frequently.
However, RQ (Redis Queue for Python) can be a much simpler solution (but it won’t run on Windows like Celery can).
Take a look at “Getting Started” at http://python-rq.org/ to see how easy this could be for you.
Source:stackexchange.com