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]>]

There is no official package available for openSUSE Leap 15.6

التوزيعات

openSUSE Tumbleweed

SUSE SLE-15-SP1

توزيعات غير مدعومة

التوزيعات التالية غير معتمدة رسميًا. استخدم هذه الحزم على مسؤوليتك الخاصة.