Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Background Processing for Python 3.

Project description

<img src="" align="right" width="131" />

# dramatiq

[![Build Status](](
[![Test Coverage](](
[![PyPI version](](

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


**Changelog**: <br/>
**Community**: <br/>


## Installation

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]'

## Quickstart

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

``` python
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!

## License

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

[user guide]:

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.3.0
Filename, size File type Python version Upload date Hashes
Filename, size dramatiq-1.3.0-py3-none-any.whl (82.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dramatiq-1.3.0.tar.gz (59.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page