Skip to main content

Requests + Eventlet

Project description

ERequests allows you to use Requests with Eventlet to make asyncronous HTTP Requests easily.

ERequests is a port to Eventlet of Kenneth Reitz’s grequests ( though it doesn’t provide the same API these days.


Usage is simple:

import erequests

urls = [

Create a set of unsent Requests:

>>> rs = (erequests.async.get(u) for u in urls)

Send them all at the same time:

>>> list(
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]

NOTE: When sending multiple requests at the same time with map/imap, if any of them results in an error, the exception object is returned.


Installation is easy with pip:

$ pip install erequests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
erequests-0.4.1.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page