{"repo":"long2ice/rearq","free":true,"listed":false,"github":"https://github.com/long2ice/rearq","clone":"git clone https://github.com/long2ice/rearq.git","description":"A distributed task queue built with asyncio and redis, with built-in web interface","language":"Python","stars":158,"topics":["asyncio","distributed","arq","task","queue","mysql","postgresql","redis","rq"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"ReArq Introduction ReArq is a distributed task queue with asyncio and redis, which rewrite from arq to make improvement and include web interface. You can try Demo Online here. Features - AsyncIO support, easy integration with FastAPI. - Delay task, cron task and async task support. - Full-featured build-in web interface. - Built-in distributed task lock to make same task only run one at the same time. - Other powerful features to be discovered. Screenshots Requirements - Redis = 5.0 Install Use MySQL backend: Use PostgreSQL backend: Quick Start Task Definition Run rearq worker Run rearq timer If you have timing task or delay task, you should run another command also: Also, you can run timer with worker together by rearq main:rearq worker -t . Integration in FastAPI Start web interface After server run, you can visit https://127.0.0.1:8000/docs to see all apis and https://127.0.0.1:8000 to see web interface. Other options will pass into uvicorn directly, such as --root-path etc. Mount as FastAPI sub app You can also mount rearq server as FastAPI sub app. Start worker inside app You can also start worker inside your app. ThanksTo - arq, Fast job queuing and RPC in python with asyncio and redis. License This project is licensed under the Apache-2.0 License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/long2ice","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/long2ice/rearq/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}