All Projects → Bogdanp → Dramatiq

Bogdanp / Dramatiq

Licence: lgpl-3.0
A fast and reliable background task processing library for Python 3.

Programming Languages

python
139335 projects - #7 most used programming language
lua
6591 projects

Projects that are alternatives of or similar to Dramatiq

Celery
Distributed Task Queue (development branch)
Stars: ✭ 18,378 (+546.2%)
Mutual labels:  task-manager, task-scheduler, redis, task-runner
Dramatiq dashboard
A dashboard for dramatiq, specific to its Redis broker.
Stars: ✭ 82 (-97.12%)
Mutual labels:  task-manager, task-scheduler, redis, task-runner
reflow
A light-weight lock-free series/parallel combined scheduling framework for tasks. The goal is to maximize parallelism in order to minimize the execution time overall.
Stars: ✭ 23 (-99.19%)
Mutual labels:  task-runner, task-manager, task-scheduler
Rqueue
Rqueue aka Redis Queue [Task Queue, Message Broker] for Spring framework
Stars: ✭ 76 (-97.33%)
Mutual labels:  task-manager, task-scheduler, redis
bikeshed
Lock free hierarchical work scheduler
Stars: ✭ 78 (-97.26%)
Mutual labels:  task-runner, task-manager, task-scheduler
Phulp
The task manager for php
Stars: ✭ 294 (-89.66%)
Mutual labels:  task-manager, task, task-runner
Cron Manager
A PHP cron task manager for MVC-type applications
Stars: ✭ 396 (-86.08%)
Mutual labels:  task-manager, task-scheduler, task-runner
Machinery
Machinery is an asynchronous task queue/job queue based on distributed message passing.
Stars: ✭ 5,821 (+104.68%)
Mutual labels:  task, task-scheduler, redis
Openmangosteen
Devops定时调用http接口,定时执行SSH命令的WEB定时任务工具。
Stars: ✭ 41 (-98.56%)
Mutual labels:  task-manager, task-scheduler
Rq
Simple job queues for Python
Stars: ✭ 8,065 (+183.58%)
Mutual labels:  task, redis
Rq Scheduler
A lightweight library that adds job scheduling capabilities to RQ (Redis Queue)
Stars: ✭ 1,095 (-61.5%)
Mutual labels:  task-scheduler, redis
Bake
Bake is a bash task runner
Stars: ✭ 27 (-99.05%)
Mutual labels:  task, task-runner
Gantt Elastic
Gantt Chart [ javascript gantt chart, gantt component, vue gantt, vue gantt chart, responsive gantt, project manager , vue projects ]
Stars: ✭ 869 (-69.44%)
Mutual labels:  task-manager, task
Marl
A hybrid thread / fiber task scheduler written in C++ 11
Stars: ✭ 1,078 (-62.1%)
Mutual labels:  task-scheduler, task-runner
Fennel
A task queue library for Python and Redis
Stars: ✭ 24 (-99.16%)
Mutual labels:  task, redis
Qutee
PHP Background Jobs (Tasks) Manager
Stars: ✭ 63 (-97.78%)
Mutual labels:  redis, task-runner
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (-68.53%)
Mutual labels:  task, task-runner
Run When
Run tasks based on "Git diff" changes 🏃 ➕ ➖
Stars: ✭ 63 (-97.78%)
Mutual labels:  task, task-runner
Pytask Io
Python Async Task Queue
Stars: ✭ 81 (-97.15%)
Mutual labels:  task-manager, redis
Ytask
YTask is an asynchronous task queue for handling distributed jobs in golang(go异步任务框架)
Stars: ✭ 121 (-95.75%)
Mutual labels:  task, task-scheduler

dramatiq

Build Status PyPI version Documentation Discuss

A fast and reliable distributed task processing library for Python 3.


Changelog: https://dramatiq.io/changelog.html
Community: https://groups.io/g/dramatiq-users
Documentation: https://dramatiq.io


Sponsors

Installation

If you want to use it with RabbitMQ

pip install 'dramatiq[rabbitmq, watch]'

or if you want to use it with Redis

pip install 'dramatiq[redis, watch]'

Quickstart

Make sure you've got RabbitMQ running, then create a new file called example.py:

import dramatiq
import requests
import sys


@dramatiq.actor
def count_words(url):
    response = requests.get(url)
    count = len(response.text.split(" "))
    print(f"There are {count} words at {url!r}.")


if __name__ == "__main__":
    count_words.send(sys.argv[1])

In one terminal, run your workers:

dramatiq example

In another, start enqueueing messages:

python example.py http://example.com
python example.py https://github.com
python example.py https://news.ycombinator.com

Check out the user guide to learn more!

License

dramatiq is licensed under the LGPL. Please see COPYING and COPYING.LESSER for licensing details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].