Background Processing for Python 3.
Project Links
Meta
Author: Bogdan Popa
Requires Python: >=3.10
Classifiers
Programming Language
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: 3 :: Only
Topic
- System :: Distributed Computing
License
- OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
dramatiq
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.
2.1.0
Mar 03, 2026
2.0.1
Jan 18, 2026
2.0.0
Nov 18, 2025
1.18.0
May 30, 2025
1.17.1
Oct 26, 2024
1.17.0
May 09, 2024
1.16.0
Jan 25, 2024
1.15.0
Oct 23, 2023
1.14.2
Mar 25, 2023
1.14.1
Feb 25, 2023
1.14.0
Feb 05, 2023
1.13.0
Apr 02, 2022
1.12.3
Jan 21, 2022
1.12.2
Jan 14, 2022
1.12.1
Dec 19, 2021
1.12.0
Oct 23, 2021
1.11.0
May 22, 2021
1.10.0
Dec 21, 2020
1.9.0
Jun 08, 2020
1.8.1
Feb 06, 2020
1.8.0
Feb 02, 2020
1.7.0
Sep 22, 2019
1.6.1
Jul 24, 2019
1.6.0
May 02, 2019
1.5.0
Feb 18, 2019
1.4.3
Jan 08, 2019
1.4.1
Dec 30, 2018
1.4.0
Nov 25, 2018
1.3.0
Jul 05, 2018
1.2.0
May 24, 2018
1.1.0
Apr 17, 2018
1.0.0
Mar 31, 2018
0.20.0
Mar 17, 2018
0.19.1
Mar 08, 2018
0.19.0
Jan 17, 2018
0.18.0
Jan 06, 2018
0.17.0
Dec 30, 2017
0.16.0
Dec 25, 2017
0.15.1
Dec 08, 2017
0.15.0
Nov 24, 2017
0.14.0
Nov 21, 2017
0.13.1
Nov 17, 2017
0.13.0
Nov 15, 2017
0.12.1
Nov 15, 2017
0.12.0
Nov 14, 2017
0.11.0
Nov 09, 2017
0.10.2
Nov 06, 2017
0.10.1
Nov 04, 2017
0.10.0
Oct 30, 2017
0.9.0
Oct 22, 2017
0.8.0
Oct 19, 2017
0.7.1
Oct 08, 2017
0.7.0
Sep 19, 2017
0.6.0
Jul 09, 2017
0.5.2
Jun 29, 2017
0.5.1
Jun 27, 2017
0.5.0
Jun 27, 2017
0.4.1
Jun 26, 2017
0.4.0
Jun 24, 2017
0.3.1
Jun 23, 2017
0.3.0
Jun 22, 2017
0.2.0
Jun 21, 2017
0.1.4
Jun 19, 2017
0.1.3
Jun 19, 2017
0.1.2
Jun 19, 2017
0.1.1
Jun 19, 2017
0.1.0
Jun 18, 2017
0.0.4
Jun 07, 2017
0.0.3
Jun 05, 2017
0.0.2
Jun 04, 2017
0.0.1
Jun 02, 2017