Description
Taskiq is an asynchronous distributed task queue for Python, which runs background jobs on worker processes. It takes inspiration from Celery and Dramatiq, but it can send and run both synchronous and asynchronous functions, and it integrates with async frameworks such as FastAPI and AioHTTP. The project uses PEP 612 to give good autocompletion, and all of its code is type-hinted. You create a broker for your queue backend, such as NATS, Redis, RabbitMQ or Kafka, then declare tasks with a decorator, and start workers with a command that points to your broker. A flag can discover tasks in every tasks.py module in a project, and a reload option restarts workers when the code changes. The project is installed with pip, with an optional reload extra, and its documentation is on the project website. The code is on GitHub and released under the MIT licence.…
Highlights
- Asynchronous distributed task queue
- Runs sync and async functions
- Brokers for NATS, Redis, RabbitMQ and Kafka
- FastAPI and AioHTTP integration
- Type-hinted code
Ratings & Reviews
No ratings yet
Be the first to rate Taskiq.
People also visit
Qinglong
支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform
Taskiq FAQ
What is taskiq?
An asynchronous distributed task queue for Python that runs background jobs on workers.
Which queues does it support?
Brokers exist for NATS, Redis, RabbitMQ and Kafka, and others, according to the README.
How do I install it?
Run pip install taskiq, or install from the repository, as the README explains.
Does it work with FastAPI?
Yes. The README says it integrates with async frameworks such as FastAPI and AioHTTP.
What are the best Taskiq alternatives?
Popular alternatives to Taskiq include Qinglong, Aven and µTask. See all Taskiq alternatives







