python-grequests

Requests + Gevent

GRequests allows you to use Requests with Gevent to make asyncronous HTTP Requests easily. Usage ----- Usage is simple:: import grequests urls = [ '<a href="http://www.heroku.com">http://www.heroku.com</a> ', '<a href="http://tablib.org">http://tablib.org</a> ', '<a href="http://httpbin.org">http://httpbin.org</a> ', '<a href="http://python-requests.org">http://python-requests.org</a> ', '<a href="http://kennethreitz.com">http://kennethreitz.com</a> ' ] 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]>]

openSUSE Leap 16.0 没有可用的官方软件包

发行版

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

SUSE SLE-15-SP1

不受支持的发行版

下列发行版未被官方支持。使用这些软件包需要您自担风险。