A bounded worker pool with backpressure, retries and graceful shutdown.
I kept rewriting the same thirty lines in every project, so I pulled them out.
pip install task-queuefrom task_queue import taskQueue
result = taskQueue("example")
print(result)- No runtime dependencies outside the standard library.
- Tested on Python 3.9 and newer.
MIT