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

不支援的發行版本

下列發行版本並未被官方支援。使用這些套件需要自行承擔風險。