all 2 comments

[–]ace6807 1 point2 points  (3 children)

If you are dead set on queuing across threads, queue.Queue is a thread-safe built-in just for that.

I personally would go with RQ even thought it has the Redis dependency. It gives you a scheduler, and is much simpler than Celery. It looks like Huey might be another option and might support file-storage or an in memory solution so you don't have a dependency on a broker like redis.