remoulade
A fast and reliable distributed task processing library for Python 3. Fork of dramatiq.io
Changelog: https://remoulade.readthedocs.io/en/latest/changelog.html
Documentation: https://remoulade.readthedocs.io
Installation
If you want to use it with RabbitMQ
uv pip install 'remoulade[rabbitmq]'
If you want to use it with PostgreSQL and PGMQ
uv pip install 'remoulade[postgres]'
If you want Redis-backed extras like results or cancellation, add Redis to the broker extra you use:
uv pip install 'remoulade[rabbitmq, redis]'
uv pip install 'remoulade[postgres, redis]'
Quickstart
- Make sure you've got RabbitMQ running, then create a new file called
example.py:
from remoulade.brokers.rabbitmq import RabbitmqBroker
import remoulade
import requests
import sys
broker = RabbitmqBroker()
remoulade.set_broker(broker)
@remoulade.actor
def count_words(url):
response = requests.get(url)
count = len(response.text.split(" "))
print(f"There are {count} words at {url!r}.")
broker.declare_actor(count_words)
if __name__ == "__main__":
count_words.send(sys.argv[1])
- In one terminal, run your workers:
remoulade example
- In another, start enqueueing messages:
python3 example.py http://example.com
python3 example.py https://github.com
python3 example.py https://news.ycombinator.com
Visit the user guide to see more features!.
Releasing
If you want to contribute to the project. First make a Pull request and get approval from a Maintainer and then:
- Merge your pull request
- Push a tag (must start with a
v) from the commit you want (usually, themasterbranch) a. You can create a new release on Github (recommended). This will create and push the tag for you. b. Update your local clone, checkoutmaster,git tagand thengit push --tags
This will trigger a CI/CD pipeline that publish the package
Kubernetes
Remoulade is tailored to run transparently in containers on Kubernetes and to make the most of their features. This does not mean it cannot run outside of Kubernetes ;)
Monitoring/Prometheus
Remoulade provides a Prometheus Middleware that exposes various metrics (processed messages, retries, fails etc.), Check it out.
Tracing/OpenTelemtry
Take a look at opentelemetry-instrumentation-remoulade if you want to enable tracing for Remoulade operations (enqueue, message processing, retries etc.). See here for an example. The library follows OpenTelemetry standards.
License
remoulade is licensed under the LGPL. Please see COPYING and COPYING.LESSER for licensing details.
Release files for remoulade 7.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| remoulade-7.1.0.tar.gz | 113.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| remoulade-7.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 280.9 kB
Release files / remoulade-7.1.0.tar.gz
| Download URL | remoulade-7.1.0.tar.gz |
|---|---|
| Size | 113.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b19295b284f0fe1b467084c946edf3b5e44c832ad6ecfed88f50ce3be3b719db
|
|
BLAKE2b-256 checksum How to use checksums |
d8bcf4e7a54309507752e83f4050043f812e2e947288149f927fc10ac9a04b90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logRelease files / remoulade-7.1.0-py3-none-any.whl
| Download URL | remoulade-7.1.0-py3-none-any.whl |
|---|---|
| Size | 167.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac234291680dae144946666bf84d1bada1accf28b16e1f4e928e77c7e94b1c7b
|
|
BLAKE2b-256 checksum How to use checksums |
cb3f9e149da4a4cfe251bf7982107476b12a60262cdcbf5ae0e814aa6ffbd413
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency log