Skip to main content

Background Processing for Python 3.

Project description


Build Status PyPI version Documentation Discourse

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

Professional Support:


If you want to use it with RabbitMQ

pipenv install 'dramatiq[rabbitmq, watch]'

or if you want to use it with Redis

pipenv install 'dramatiq[redis, watch]'


Make sure you've got RabbitMQ running, then create a new file called

import dramatiq
import requests
import sys
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__":

In one terminal, run your workers:

dramatiq example

In another, start enqueueing messages:


Check out the user guide to learn more!


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dramatiq, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size dramatiq-1.5.0.tar.gz (60.8 kB) File type Source Python version None Upload date Hashes View
Filename, size dramatiq-1.5.0-py3-none-any.whl (100.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page