GRequests 0.1.0

Requests + Gevent
GRequests is a Python tool that allows you to use Requests with Gevent to make asyncronous HTTP requests easily.

Usage

Usage is simple:

import grequests

urls = [
 'http://www.heroku.com',
 'http://tablib.org',
 'http://httpbin.org',
 'http://python-requests.org',
 'http://kennethreitz.com'
]


Create a set of unsent Requests:

>>> rs = (grequests.get(u) for u in urls)

Send them all at the same time:

>>> grequests.map(rs)
[< Response [200] >, < Response [200] >, < Response [200] >, < Response [200] >, < Response [200] >]

last updated on:
May 12th, 2012, 16:32 GMT
price:
FREE!
homepage:
github.com
license type:
BSD License 
developed by:
Kenneth Reitz
category:
ROOT \ Internet \ HTTP (WWW)
GRequests
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT