dramatiq.io Open in urlscan Pro
2606:4700:3035::6815:12ce  Public Scan

Submitted URL: http://dramatiq.io/
Effective URL: https://dramatiq.io/
Submission: On July 01 via api from GB — Scanned from GB

Form analysis 1 forms found in the DOM

GET search.html

<form class="search" action="search.html" method="get">
  <input type="text" name="q">
  <input type="submit" value="Go">
  <input type="hidden" name="check_keywords" value="yes">
  <input type="hidden" name="area" value="default">
</form>

Text Content

DRAMATIQ: BACKGROUND TASKS¶

Release v1.13.0. (Installation, Changelog, Discuss, Source Code)

Dramatiq is a background task processing library for Python with a focus on
simplicity, reliability and performance.

Here’s what it looks like:

import dramatiq
import requests


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


# Synchronously count the words on example.com in the current process
count_words("http://example.com")

# or send the actor a message so that it may perform the count
# later, in a separate process.
count_words.send("http://example.com")


Dramatiq is licensed under the LGPL and it officially supports Python 3.7 and
later.


GET IT NOW¶

If you want to use it with RabbitMQ:

$ pip install -U 'dramatiq[rabbitmq, watch]'


Or if you want to use it with Redis:

$ pip install -U 'dramatiq[redis, watch]'


Read the Motivation behind it or the User Guide if you’re ready to get started.


USER GUIDE¶

This part of the documentation is focused primarily on teaching you how to use
Dramatiq.

 * Installation
   * Via pip
   * From Source
 * Motivation
   * Compared to *
 * User Guide
   * Actors
   * Workers
   * Error Handling
   * Code Reloading
   * Message Retries
   * Message Age Limits
   * Message Time Limits
   * Scheduling Messages
   * Prioritizing Messages
   * Message Brokers
   * Unit Testing
 * Best Practices
   * Concurrent Actors
   * Retriable Actors
   * Simple Messages
   * Error Reporting
 * Troubleshooting
   * FileNotFoundError when Enqueueing
   * Integration Tests Hang
 * Advanced Topics
   * Brokers
   * Messages
   * Workers
 * Cookbook
   * Callbacks
   * Composition
   * Error Reporting
   * Frameworks
   * Operations
   * Rate Limiting
   * Results
   * Scheduling
   * Aborting


API REFERENCE¶

This part of the documentation is focused on detailing the various bits and
pieces of the Dramatiq developer interface.

 * API Reference
   * Functions
   * Actors & Messages
   * Brokers
   * Middleware
   * Results
   * Rate Limiters
   * Workers
   * Errors


PROJECT INFO¶

 * Source Code
 * Changelog
 * Contributing
 * Discussion Board
 * Project License








NAVIGATION

 * Installation
 * Motivation
 * User Guide
 * Best Practices
 * Troubleshooting
 * Advanced Topics
 * Cookbook

 * API Reference

 * Source Code
 * Changelog
 * Contributing
 * Discussion Board
 * Project License


QUICK SEARCH




SPONSORS


©2017, 2018, 2019 CLEARTYPE SRL. | Powered by Sphinx 1.7.9 & Alabaster 0.7.12 |
Page source