Skip to content

Commit

Permalink
Mention python-requests.org, for completeness sake.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Apr 2, 2012
1 parent 42c3b59 commit bbfe621
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ your typically lengthy or blocking function:
resp = requests.get(url)
return len(resp.text.split())

You do use the excellent [requests][r] package, don't you?

Then, create a RQ queue:

from rq import *
Expand All @@ -32,8 +34,6 @@ And enqueue the function call:

For a more complete example, refer to the [docs][d]. But this is the essence.

[d]: http://nvie.github.com/rq/docs/


### The worker

Expand Down Expand Up @@ -66,6 +66,8 @@ This project has been inspired by the good parts of [Celery][1], [Resque][2]
and [this snippet][3], and has been created as a lightweight alternative to the
heaviness of Celery or other AMQP-based queueing implementations.

[r]: http://python-requests.org
[d]: http://nvie.github.com/rq/docs/
[m]: http://pypi.python.org/pypi/mailer
[p]: http://docs.python.org/library/pickle.html
[1]: http://www.celeryproject.org/
Expand Down

0 comments on commit bbfe621

Please sign in to comment.