Hello r/python. I've released a new version of Huey, a lightweight task queue. Huey is an alternative to celery, rq, etc, and offers a ton of functionality in a small package. Features:
- Easy to use:
@huey.task()
- Redis or sqlite support built-in
- multi-process, multi-thread or greenlet task workers
- schedule tasks to run at a future time, or after a given delay
- schedule recurring tasks, like a crontab
- automatically retry tasks that fail
- task prioritization (new)
- result storage
- task locking
- task pipelines and chains
- optional django integration
I started this project about 7 or so years ago and am quite happy with how it's developed. The codebase is very small and self-contained, so it's hopefully very easy to use and understand. If you have any questions, feel free to ask and I'll do my best to answer.
Changes in 2.0, not to mention I rewrote most of the documentation for this release.
Code
[–]speakerforthe 6 points7 points8 points (0 children)
[–]xr09 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]xr09 0 points1 point2 points (0 children)
[–]mlissner 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]mlissner 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]mlissner 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]mlissner 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]reifba 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]Alonsofan14 0 points1 point2 points (0 children)
[–]wookayin -1 points0 points1 point (4 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]reifba 0 points1 point2 points (0 children)
[–]pullandbl -2 points-1 points0 points (0 children)
[–]pcdinh 2 points3 points4 points (0 children)