How to Install and Uninstall python-grequests Package on openSUSE Leap

Last updated: May 18,2024

1. Install "python-grequests" package

This guide let you learn how to install python-grequests on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python-grequests

2. Uninstall "python-grequests" package

Learn how to uninstall python-grequests on openSUSE Leap:

$ sudo zypper remove python-grequests

3. Information about the python-grequests package on openSUSE Leap

Information for package python-grequests:
-----------------------------------------
Repository : Main Repository
Name : python-grequests
Version : 0.2.0-bp153.1.13
Arch : noarch
Vendor : openSUSE
Installed Size : 11,9 KiB
Installed : No
Status : not installed
Source package : python-grequests-0.2.0-bp153.1.13.src
Summary : Requests + Gevent
Description :
GRequests allows you to use Requests with Gevent to make asyncronous HTTP
Requests easily.
Usage
-----
Usage is simple::
import grequests
urls = [
'http://www.heroku.com',
'http://tablib.org',
'http://httpbin.org',
'http://python-requests.org',
'http://kennethreitz.com'
]
Create a set of unsent Requests::
>>> rs = (grequests.get(u) for u in urls)
Send them all at the same time::
>>> grequests.map(rs)
[, , , , ]