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]>]
Es ist kein offizielles Paket für openSUSE Leap 15.6 verfügbarDistributionen
openSUSE Tumbleweed
SUSE SLE-15-SP1